5.4. 1D Plot
With the Usr-1d Plot frame you can plot single differential quantities from USRBDX, USRTRACK, USRCOLL and USRYIELD. The frame accepts as input the _tab.lis files after processing in the Data frame. The frame allows the plot of many detectors from different files and modify

- Detectors
- listbox:
Displays the list of detectors currently to be included in this graph.
- Actions:
Selecting one detector enables all fields in the “Detector Info” group for editing
Selecting multiple detectors disables the fields in the “Detector Info”. However by right-clicking on any of the fields the state of the field is changed. If the fields are not disabled then any change in their value will be updated on all selected detectors
Double clicking the items permits to rename the detector
Toolbar
Icon |
Shortcut |
Description |
---|---|---|
Rename the detector |
||
Ins |
Add a new detector |
|
Del |
Remove the selected detectors |
|
Ctrl-d |
Clone selected detectors |
|
Ctrl-Up |
Move selected detectors one line up |
|
Ctrl-Down |
Move selected detectors one line down |
- Detector Info
- File:
File name of detector. This frame accepts only the _tab.lis files generated after processing in the Data frame.
- Det:
Detector name from the file to use. The index is not sequential if in the _tab.lis files exist also 2D tables.
If multiple distributions exist for one detector Like 2D
USRBDX
distribution, the detector is split into sub-detectors named det-block- graph:
If enabled it will include this graph in the plot
- legend:
Display the legend of this graph
- type:
Plotting style to be used. Possible choices are: :errorbars: Plot only error bars :errorlines: Plot with lines and errors :histerror: Histogram superimposed on errorbars :histogram: Histogram plot (steps) :lines: Lines plot :linespoints: Lines and points plot :points: Scatter point plot :steps: Histogram plot using the low value :xyerrorbars: Plot bin width and Y error bar
- value:
Y-value to plot:
- Y:
as it is
- <X>*Y:
for iso-lethargic plots
- DX*Y:
integral in the bin
- X:
normalization value or expression to be used for the X axis. Select the units normalization directly from the drop-down listbox
- e.g.
- 1/MeV:
convert X axis in MeV (from GeV)
- $1:
use the first column of the data
- Y:
normalization value or expression to be used for this detector. When a $[column] is found in the string it will literally pass it to gnuplot or plotting Column can be used to separate value from error
- e.g.
- 1e12:
scale results by 1e12 primary particles
- $2:
use 2nd column for results
- $2:$3:
use 2nd column for results 3rd for absolute error
- $2*f:$2*$3*f/100:
use 2nd column multiplied by variable f define f=<some expression> in the plot commands below
- Color:
Select color for the lines and points
- Point type:
Select a symbol for the points
- Line width:
Thickness of lines
- Point size:
Dimensions of point symbols
Note
To modify many detectors at the same time. Select the detectors and then by right-clicking with the mouse you can enable the fields you want to modify. All enabled fields (even those not modified) will be updated on the detectors. Therefore be careful that if by mistake you enable a field right-click again to disable it.