Plotting macros: Difference between revisions

From CNM Wiki
Jump to navigation Jump to search
(New page: Category:MLL)
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
Back to [[X-Ray Microscopy]]
{| {{table}}
| align="center" style="background:#f0f0f0;"|'''command'''
| align="center" style="background:#f0f0f0;"|'''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:
{| {{table}}
| align="center" style="background:#f0f0f0;"|'''bit value'''
| align="center" style="background:#f0f0f0;"|'''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
|}
[[Category:MLL]]
[[Category:MLL]]

Latest revision as of 18:57, April 14, 2009

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