Navigation:  Programmer's Reference > Sending data to DPlot from another application >

VectorPlotColors command

Print this Topic Previous pageReturn to chapter overviewNext page

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.



JR   Viewer

Sets up to 8 colors and (optionally) 8 magnitudes associated with each color for the vector plot associated with the 1-based curve. N is the number of following colors and optional magnitudes and must be between 2 and 8. Magnitude values are ignored unless you set the 0x0040 bit of flags with the VectorPlotOptions macro command. If magnitudes are included, this command must follow both VectorPlot and  VectorPlotOptions with the 0x0040 bit set.

Colors are in the form blue*65536+green*256+red, where blue, green, and red are between 0 and 255, inclusive. Colors may be specified in hexadecimal notation with a '0x' prefix. For example 0x00FFFF00 is cyan (blue=255, green=255, red=0).


See also

Vector Plot menu command

VectorPlot macro command

VectorPlotOptions macro command


Page url: