Plot 1D file or a track of a 2D file. First one has to define the plot settings with plotpar or rplotpar. Also, the appropriate spectrum has to be loaded. The arguments <left> and <right> define which part of the spectrum will be plotted, and are in the current unit. Thus if the current unit is PPM, <left> and <right> will be interpreted as ppm values. The arguments <bottom> and <top> set the Y value of the plot, and <plotfile> gives the name of the plot output file. If <plotfile> is not given, the record is plotted to the screen.
Example 1:
Example 2:
Go in/out 2D paper contour mode. Use this command BEFORE reading the 2D plot parameters. The argument <onoff> is 1 for on and 0 for off.
? CO
Return the current screen contour mode, 1 for 2D mode and 0 for 1D mode.
Plot contour file. First go into contour mode and read/set the appropriate plot parameters. The part of the spectrum that will be plotted can also be define by the CP command. If <plotfile> is not defined, the spectrum is plotted to the screen.
Example:
Example 2:
With this option one can set one specific plot command from a script, instead of reading it from file.
Example:
Example:
Read plot parameters from disk. Plot parameters for 1D and 2D plotting are somewhat different. Be certain to be in the right mode before reading parameters.
Example 1D plot parameters:
#
# ==== 1D PLOT PARAMETERS ====
#
#
# Language: HPGL, Postscript, Postscript color
#
LANGUAGE
POSTSCRIPT
#
# Paper type: A4, A3 or user
#
PAPER TYPE A4
#
# Paper orientation: landscape or portrait
#
PAPER ORIENTATION LANDSCAPE
#
# Paper size in cm
#
PAPER WIDTH 29.70
PAPER HEIGHT 21.00
#
# Clip region of paper in cm
# For Landscape width > height
# For Portrait width < height
#
PAPER CLIP XOFFSET 1.30
PAPER CLIP WIDTH 27.20
PAPER CLIP YOFFSET 1.30
PAPER CLIP HEIGHT 18.00
#
# Enclose HPGL in PCL5 code
#
#PAPER PCL5CODE OFF
#
# Include (PostScript) paper definition
#
PAPER DEFINITION ON
#
# Plot offset x axis from PAPER CLIP YOFFSET in cm
#
PLOT YOFFSET 1.50
#
# Part of the spectrum that will be plotted
# units: ppm, hertz, seconds, channels
#
XUNITS PPM
REGION LEFT 5.4
REGION RIGHT 3.6
REGION BOTTOM -3.14096e+06
REGION TOP 6.04967e+07
#
# Plot scale settings: auto, fixed, fill
#
SCALE PLOT AUTO
#
# Only used if plot scale settings is fixed
#
XSCALE HZ/CM 50.00
#
# Show title: on or off
#
TITLE SHOW OFF
#
# Text of title
#
TITLE TEXT "Roesy at 300K"
#
# Text below X axis
#
#XAXIS TEXT "PPM"
#
# Show X axis: on or off
#
XAXIS SHOW ON
#
# Automatically place tick marks and labels: on or off
#
XAXIS AUTO ON
#
# Tickmarks(labels)/unit (ppm,hz..)
#
XAXIS LABELS 1.00
XAXIS TICKS SHORT 10.00
XAXIS TICKS MEDIUM 2.00
XAXIS TICKS LONG 1.00
#
# Tickmark length in cm
#
XAXIS TICKLENGTH SHORT 0.15
XAXIS TICKLENGTH MEDIUM 0.22
XAXIS TICKLENGTH LONG 0.30
#
# Offsets in cm
#
XAXIS OFFSET AXIS 0.20
XAXIS OFFSET LABELS 0.80
XAXIS OFFSET TEXT 1.30
XAXIS START TEXT 1.00
#
# Peak picking for 1D plots
#
PEAKPICK ON
#
# threshold: for negative peaks, this value is negated
#
PEAKPICK THRESHOLD 1e+07
#
# sign: negative, both, positive
#
PEAKPICK SIGN BOTH
Example 2D plot parameters:
#
# ==== 2D PLOT PARAMETERS ====
#
#
# Language: HPGL, Postscript, Postscript color
#
LANGUAGE
POSTSCRIPT
#
# Paper type: A4, A3 or user
#
PAPER TYPE A4
#
# Paper orientation: landscape or portrait
#
PAPER ORIENTATION LANDSCAPE
#
# Paper size in cm
#
PAPER WIDTH 29.70
PAPER HEIGHT 21.00
#
# Clip region of paper in cm
# For Landscape width > height
# For Portrait width < height
#
PAPER CLIP XOFFSET 1.30
PAPER CLIP WIDTH 27.20
PAPER CLIP YOFFSET 1.30
PAPER CLIP HEIGHT 18.00
#
# Enclose HPGL in PCL5 code
#
#PAPER PCL5CODE OFF
#
# Include (PostScript) paper definition
#
PAPER DEFINITION ON
#
# Plot offset x axis from PAPER CLIP YOFFSET in cm
#
PLOT YOFFSET 1.50
#
# Plot offset y axis from PAPER CLIP XOFFSET in cm
#
PLOT XOFFSET 1.50
#
# Part of the spectrum that will be plotted
# units: ppm, hertz, seconds, channels
#
XUNITS PPM
REGION LEFT 4.4
REGION RIGHT 3.0
YUNITS PPM
REGION BOTTOM 4.4
REGION TOP 3.0
#
# Plot scale settings: auto, fixed, fill
#
SCALE PLOT AUTO
#
# Only used if plot scale settings is fixed
#
XSCALE HZ/CM 50.00
YSCALE HZ/CM 50.00
#
# Text below X axis
#
XAXIS TEXT "PPM"
#
# Show X axis: on or off
#
XAXIS SHOW ON
#
# Automatically place tick marks and labels: on or off
#
XAXIS AUTO ON
#
# Tickmarks(labels)/unit (ppm,hz..)
#
XAXIS LABELS 1.00
XAXIS TICKS SHORT 10.00
XAXIS TICKS MEDIUM 2.00
XAXIS TICKS LONG 1.00
#
# Tickmark length in cm
#
XAXIS TICKLENGTH SHORT 0.15
XAXIS TICKLENGTH MEDIUM 0.22
XAXIS TICKLENGTH LONG 0.30
#
# Offsets in cm
#
XAXIS OFFSET AXIS 0.20
XAXIS OFFSET LABELS 0.80
XAXIS OFFSET TEXT 1.30
XAXIS START TEXT 1.00
#
# Text below Y axis
#
YAXIS TEXT "PPM"
#
# Show Y axis: on or off
#
YAXIS SHOW ON
#
# Automatically place tick marks and labels: on or off
#
YAXIS AUTO ON
#
# Tickmarks(labels)/unit (ppm,hz..)
#
YAXIS LABELS 1.00
YAXIS TICKS SHORT 10.00
YAXIS TICKS MEDIUM 2.00
YAXIS TICKS LONG 1.00
#
# Tickmark length in cm
#
YAXIS TICKLENGTH SHORT 0.15
YAXIS TICKLENGTH MEDIUM 0.22
YAXIS TICKLENGTH LONG 0.30
#
# Offsets in cm
#
YAXIS OFFSET AXIS 0.20
YAXIS OFFSET LABELS 0.40
YAXIS OFFSET TEXT 1.00
YAXIS START TEXT 1.00
#
# Box for 2D plots: off, on
#
BOX SHOW ON
#
# Grid for 2D plots: off, on, auto
#
GRID SHOW AUTO
#
# Lines/unit (ppm, hz, ..)
#
GRID XLINES 2.00
GRID YLINES 2.00
#
# ==== CONTOUR PARAMETERS ====
# Lowest contour level
#
CONTOUR LOWEST 46764.73
#
# Number of levels (max = 32)
#
CONTOUR NUMLEVELS 16
#
# Level sign: negative, both, positive
#
CONTOUR SIGN POSITIVE
#
# Level mode: explicit, factor, equidistant, logrange
#
CONTOUR MODE FACTOR
#
# Factor for 'Use factor' mode
#
CONTOUR FACTOR 1.50
#
# Distance for 'Equidistant' mode
#
CONTOUR DISTANCE 100000
#
# Highest level for 'Logrange' mode
#
CONTOUR HIGHEST 1e+06
If contour mode is explicit then the contour levels can be defined in the following manner:
#
# Levels for 'Explicit' mode
#
CONTOUR LEVEL 1
46764.7
CONTOUR LEVEL 2
70147.1
CONTOUR LEVEL 3
105221
CONTOUR LEVEL 4
157831
CONTOUR LEVEL 5
236746
CONTOUR LEVEL 6
355120
CONTOUR LEVEL 7
532680
CONTOUR LEVEL 8
799019
CONTOUR LEVEL 9
1.19853e+06
CONTOUR LEVEL 10 1.79779e+06
CONTOUR LEVEL 11 2.69669e+06
CONTOUR LEVEL 12 4.04504e+06
CONTOUR LEVEL 13 6.06755e+06
CONTOUR LEVEL 14 9.10133e+06
CONTOUR LEVEL 15 1.3652e+07
CONTOUR LEVEL 16 2.0478e+07
Write the current plot parameters to <filename>