3.3.2.57.3 Options for Symbols


-k

Syntax: set name -k shape#

Set plot symbol shape (built-in symbols). For graphs with symbols,

0 no symbol 1 square 2 circle 3 up triangle 4 down triangle 5 diamond 6 cross (+)
7 cross (x) 8 star (*) 9 bar (-) 10 bar (|) 11 number 12 LETTER 13 letter
14 right arrow 15 left triangle 16 right triangle 17 hexagon 18 star 19 pentagon 20 sphere

For any numeric values outside of this range (except 56 and 58), no symbol displays. The numeric values of 56 and 58 display special symbol types: 56 = data markers and 58 = vertical lines that mark the X position of the data point.

To map the symbol shape to a dataset, use:

set DatasetName -k value;

where value = 100 + number-of-columns-to-the-right. For example, to base the symbol shape on a dataset located two columns to the right of the data plot's Y dataset in the worksheet, use value = 102. (Note: There is a limit of four columns to the right.) For bar graphs, this option is used to set the color index.

-ka

Syntax: set name -ka value#

Set plot symbol shape (user-defined and ASCII). User-defined bitmaps, value# = 0-24. e.g., 0=Geometric symbol, 1=first user-defined symbol, 2=second user-defined symbol, ..., 24=24th user defined symbol. For ASCII character set, value# = 33-255.

-kb

Syntax: set name -kb value

Set plot data labels to bold. For graphs with data labels, display the data labels in bold font style. 1 = bold on, 0 = bold off. This would only effective when symbol is set to alphabetics or number numerics.

-kf

Syntax: set name -kf interior#

Set plot symbol interior.

For graphs with symbols, set symbol interior: 0 = solid, 1 = open, 2 = dot center, 3 = hollow, 4 = + center, 5 = x center, 6 = - center, 7 = | center, 8 = half up, 9 = half right, 10 = half down, 11 = half left.

For any numeric values outside of this range, no symbol displays. To map the symbol interior to a dataset, use:

Draw a scatter plot, default setting is black solid square 
set %c -k 2; //Change shape to be circle
set %c -kf 1; //Change interior to be open
set %c -c 2; //Set edge color be red
set %c -csf 3; //Set fill color be green

where value = 100 + number-of-columns-to-the-right. For example, to base the symbol interior on a dataset located two columns to the right of the data plot's Y dataset in the worksheet, use value = 102. (Note: There is a limit of four columns to the right.)

If shape is Sphere(#20), there are only two kinds of interiors, 1~7 is open, 8~11&0 is solid.

Origin 8 SR4 added option to use interior to control Row Number symbols to allow for using X or Y values instead of Row Numbers. interior = 1 to use X, = 2 to use Y and any other values will use row index.

-kh

Syntax: set name -kh value

Set the Edge Thickness of the plot symbol. The value should be the desired value of edge thickness. And this can be used to control the symbol edge size.

In order to set the edge thickness back to default, use value = 255.

-ki

Syntax: set name -ki value

Set plot data labels to italic. For graphs with data labels, display the data labels in italic font style. 1 = italic on, 0 = italic off. This would only effective when symbol is set to alphabetics or number numerics.

-kn

Syntax: set name -kn font

Set plot font for alphanumeric symbols (set DatasetName -k 12 or 13). For graphs with alphanumeric symbols (set DatasetName -k 12; or set DatasetName -k 13;), select the font. Use: set DatasetName -kn font(FontName) . For example:

range rr = [Graph1]Layer1!1; // A scatter plot in graph 1 layer 1
set rr -k 12; // Set symbol to be alphabetic
set rr -kn font(Times New Roman); //Change symbol font to "Times New Roman"

-ku

syntax: set name -ku value

Set plot data label to underline. For graphs with data labels, display the data labels with an underline. 1 = underline on, 0 = underline off. This would only effective when symbol is set to alphabetics or number numerics.

-kt

Syntax: set name -kt value

SR4 added access to symbol tab Construction details radio choices. 0 = Geometry, 1 = Char, 2 = Increment ABCD, 3 = increment abcd, 4 = Data Value (Row numbers, Y Values, X Values) and 5 = index to User defined symbols. The following code will change a scatter plot (active %C) to use Y values from the data as symbols:

set %C -kt 4;// row number symbol type
set %C -kf 2;// substitude row number with Y values

-ksi

Syntax: set name -ksi

set symbol shape to be increment.

-kfi

Syntax: set name -ksi

set symbol fill type to be increment.

-ksn

Syntax: set name -ksn Dataset

set symbol shape to be indexed by a dataset.

-kfn

Syntax: set name -kfn Dataset

set symbol fill type to be indexed by a dataset.

-kss

-paas

Syntax: set name -paas value

Set symbol's transparency to follow line's or not: 0 = do not follow line's transparency settings, 1 = follow line's.

-z

Syntax: set name -z value

Set data point symbol size. For data plots with symbols, set the data point symbol size, in points, with 1 point = 1/72 inch. For data plots with error bars, this option sets the cap width of the error bars.

To map the symbol size to a dataset, use set DatasetName -z value, where value = 100 + number-of-columns-to-the-right. For example, to base the symbol size on a dataset located two columns to the right of the data plot's Y dataset in the worksheet, use value = 102. (Note: There is a limit of four columns to the right.)