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 or character strings; character string parameters are always bound by double quotation marks.
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.
[FileNewEx("caption",datatype,activate)] |
|
Finds an empty document window or opens a new document window if no empty documents exist. The caption of the new document is set to "caption". Plot type is set to 1D statistics plot for datatype=1, 2D XY plot for datatype=2, or 3D random points for datatype=3. If activate is non-zero, the new document is activated and becomes the target of all subsequent DDE commands. If activate=0, the currently active document remains the active document.
Page url: http://www.dplot.com/help/index.htm?filenewexcommand.htm