3.3.2.21.2 Options for Data Plots


-c

Syntax: get name -c [variableName]

Get the index of line color and the symbol edge color for plots with lines and/or symbols.

get %C -c t1; // get the line or symbol edge color in activated graph and save it in new variable t1

If you have set the color for one data point before, you can get its color by:

get DatasetName DataPointIndex -c value;

For example:

//Fill Column(A) and Column(B) with data
plotxy (1,2) plot:=201;//Plot a scatter line plot
set %C 2 -c 3; //Set the second data point color 
get %C 2 -c nn; //nn =3

-cd

Syntax: get name -cd [variableName]

Returns the dataset if the plot line and symbol edge color is defined as colormap, indexing or rgb, otherwise returns empty.

-cf

Syntax: get name -cf [variableName]

Get the index of fill color (for fill area graphs).

-ci

Syntax: get name -ci [variableName]

When the plot line color and symbol edge color is set to be Increment, get the color index of the starting color.

-cl

Syntax: get name -cl [variableName]

Get the line color index for line plot.

-cld

Syntax: get name -cld [variableName]

If the line color is defined by colormap, indexing or RGB, returns the name of source dataset. Otherwise, return empty.

-cli

Syntax: get name -cli [variableName]

When the plot line color is set to be Increment, get the color index of the starting color.

-clm

Syntax: get name -clm [variableName]

When the plot line color is set to be Colormap, get the source dataset which is used to define the colormap.

-cln

Syntax: get name -cn [variableName]

When the plot line color and symbol edge color is set to be Indexing, get the dataset which is used to define color indices.

-clo

Syntax: get name -clo [variableName]

Returns an index to indicate how the line color is defined. 0 = individual, 1 = increment, 2 = colormap, 3 = color indexing, 4 = RGB.

-clr

Syntax: get name -clr [variableName]

When the plot line color is set to be RGB, get the source dataset which is used to define the RGB values.

-cmn

Syntax: get name -cmn [variableName]

Get the color index for level n in a color-mapped data plot.

-cm

Syntax: get name -cm [variableName]

Get the source dataset for the colormap, if the plot line color and symbol edge color is set to be Colormap.

-cn

Syntax: get name -cn [variableName]

Get the source dataset for the color indexing, if the plot line color and symbol edge color is set to be Indexing.

-co

Syntax: get name -co [variableName]

Get the index to indicate the method used to define the plot line and symbol edge color, in which:

0: individual, 1: increment, 2: colormap, 3: indexing, 4: rgb

-cr

Syntax: get name -cr [variableName]

When the plot line color and symbol edge color is set to RGB, get the dataset for the RGB values.

-cse

Syntax: get name -cse [variableName]

Get the color index of symbol edge color for plots with symbols. If plot is color indexed or colormapped, it would return "101 + number-of-columns-to-the-right" or "524389 + number-of-columns-to-the-left".

-csed

Syntax: get name -csed [variableName]

If the symbol edge color is defined by colormap, indexing or RGB, returns the name of source dataset. Otherwise, return empty.

-csei

Syntax: get name -csei [variableName]

If the symbol edge color is set as Increment, get the starting color index.

-csem

Syntax: get name -csem [variableName]

When the symbol edge color is set as Colormap, get the the name of source dataset for color map.

-csen

Syntax: get name -csen [variableName]

When the symbol edge color is set as Indexing, get the name of the source dataset for color indexing.

-cseo

Syntax: get name -cseo [variableName]

Returns an index to indicate how the symbol edge color is defined. 0 = individual, 1 = increment, 2 = colormap, 3 = color indexing, 4 = RGB.

-cser

Syntax: get name -cser [variableName]

When the symbol edge color is set as RGB, get the name of the source dataset for RGB values.

-cset

Syntax: get name -cset [variableName]

Get the plot symbol edge color pattern, eg. 0 = indexing, 1 = direct RGB, 2 = colormapping.

-csf

Syntax: get name -csf [variableName]

Get the index of symbol fill color, for plots with symbols.

-csfd

Syntax: get name -csfd [variableName]

If the symbol fill color is defined by colormap, indexing or RGB, returns the name of source dataset. Otherwise, return empty.

-csfi

Syntax: get name -csfi [variableName]

If the symbol fill color is set as Increment, get the starting color index.

-csfm

Syntax: get name -csfm [variableName]

When the symbol fill color is set as Colormap, get the the name of source dataset for color map.

-csfn

Syntax: get name -csfn [variableName]

When the symbol fill color is set as Indexing, get the name of the source dataset for color indexing.

-csfo

Syntax: get name -csfo [variableName]

Returns an index to indicate how the symbol fill color is defined. 0 = individual, 1 = increment, 2 = colormap, 3 = color indexing, 4 = RGB.

-csfr

Syntax: get name -csfr [variableName]

When the symbol fill color is set as RGB, get the name of the source dataset for RGB values.

-cu

Syntax: get name -cu [variableName]

Get the custom color increment list of the line plot as a dataset. The values in dataset are the color indices for corresponding color.

-cue

Syntax: get name -cu [variableName]

Get the status of the custom color increment list as an integer, 1 = enabled, 0 = disabled.

-cuf

Syntax: get name -cuf dataset

When the pattern fill color is set to Increment, and Use Custom Increment List is enabled, get the fill pattern color indices to dataset.

-cus

Syntax: get name -cus dataset

When the symbol edge color is set to Increment, and Use Custom Increment List is enabled, get the fill pattern color indices to dataset.

-cusf

Syntax: get name -cusf dataset

When the symbol fill color is set to Increment, and Use Custom Increment List is enabled, get the fill pattern color indices to dataset.

-czn

Syntax: get name -czn [variableName] Get the color value for Z level n in a color-mapped data plot. Value for Z level n in a color mapped data plot.

-sx

Syntax: get name -sx [variableName]

Get the X offset value (if any) for a data plot.

-sxs

Syntax: get name -sxs [variableName]

Get the scaling factor of X value after stacking for a data plot. For example, to get the X scaling factor of the active stacked plot,

get %c -sxs x_scaling; 
xscaling = ;

-sy

Syntax: get name -sy [variableName]

Get the Y offset value (if any) for a data plot.

-sys

Syntax: get name -sys [variableName]

Get the scaling factor of Y value after stacking for a data plot. For example, to get the Y scaling factor of the active stacked plot,

get %c -sys y_scaling; 
y_scaling = ;