Plotting macros

From CNM Wiki
Jump to navigation Jump to search

Back to X-Ray Microscopy

command description
setplot [mode] Select plotting options
plot Plot data on printer
rplot Plot updated data at each point of scan
splot Plot data on screen
pts List current data on the screen
lp_plot Primitive 132-column wide plot for printers
wa Show positions of all motors
lm Show limits of all motors
plot_res Show results after scans
splot_res Show results on screen plot
rplot_res Show results on updated plot during scans


The setplot macro assigns values to the global variable, PLOT_MODE, according to the values defined in the following table:

bit value description
1 Do updated plotting during scans
2 Do screen plot after scan
4 Do printer plot after scan
8 Scale x-axis of screen plots to fit width of scan
16 Force y-axis minimum to be zero
32 Use logarithmic y-axis
64 Do simple background subtraction
128 Use high-resolution plotting device
256 With high-res, don't use large dots
512 With high-res, don't connect points with lines
1024 With high-res, don't draw error bars