To compare two counter graphs after a scan, compare a scan with the previous one, or in general to have more than one graph at the same time you have different options in spec
counters
:
The macro counters
allows the user to select a main detector and monitor and also to select which counters to plot.
320.FOURC> counters Current counter configuration: Num Mnemonic Plot 0 sec NO 1 mon NO (is MON) 2 det NO (is DET) 3 roi1 YES 4 roi2 YES Counters to plot (roi1 roi2)? Counter for DET (det)? Counter for MON, -1 disables (mon)?
Two graph windows:
You could also select to open a second graph window. Then send data to plot to this window at your convenience with the function plot_cntl(). In the following example:
def _plot 'plot_cntl("filter2"); rplot det2; plot_cntl("filter1"); rplot' def plot 'plot_cntl("filter2"); splot det2; plot_cntl("filter1"); splot'
The first definition handles the real-time plotting during scans. The second handles the plot at the end of the scan. Here “det2” is the name of the second counter you wish to plot. The “filter2” plot is drawn first so that the active plot window gets set back to the default at the end.
More information:
For more plot related information see the following help pages:
setplot – Plotting options
plot_cntl – Built-in plotting functionalities
x11 – graphics under X window system