Macro commands may be used either in macros or by sending the commands to DPlot via dynamic data exchange (DDE). Some commands are valid only in macros (noted by Macros Only). Commands sent to DPlot via DDE must be enclosed by square brackets [ ]. Macro commands should not include the brackets.
Command parameters shown in the descriptions below are placeholders for the actual values. Command parameters are either numeric values, equations that evaluate to numbers, or character strings. Character string parameters are always bound by double quotation marks. Equations must be preceded by an equals sign (=).
The pipe symbol (|) in the command syntax indicates that a parameter is optional, and should not be included in your macro unless otherwise noted.
All indices into arrays are 1-based, e.g. Curve1=1 refers to the first curve in a plot.
A 0x prefix for numbers in the descriptions below indicates hexadecimal notation; e.g. 0x0010 = 16.
JR/Viewer indicates that the command is supported by DPlot Jr or DPlot Viewer.
JR/Viewer indicates that the command is NOT supported by DPlot Jr or DPlot Viewer.
[ContourScales(Xscale, Yscale, Zscale)]
Sets the drawing scales for X, Y, and Z values on contour plots. This has no effect on the actual data values, only on appearance. By default the scale factors are 1:1:1 unless “Always auto-adjust scale factors on 3D plots” on the General Options dialog is checked. In the latter case, scale factors are automatically set such that the plot is square in the XY plane and the Z extents appear to be about 1/2 that of X and Y.
If any scale factor is set to 0, then the behavior depends on the “Always auto-adjust scale factors on 3D plots” setting. If checked (or set with a GeneralOptions command), then the corresponding factor is set to mimic that behavior without altering the other scale factors. If that option is not selected, a 0 scale factor is forced to 1.0.
A negative scale factor will reverse the normal direction for the associated axis. For example [ContourScales(1,1,-1)] will invert the Z axis so that the Z values increase from top to bottom in a 3D view.
GeneralOptions macro command
Contour Options menu command