plset
set new global values
parameter | type | units | description |
---|---|---|---|
name | int | -- | global variable to bet set |
value | float | any | new value for the variable |
returns: | void |
Description
plset changes global values. The following table lists the names, default value and description of the global values:global | default | description \b |
ANGLE | 0 | plotting direction in degrees relative to the x-axis for symbols and texts. Changing the direction of the x-axis thus also changes the direction for plotting symbols. |
CAPSTYLE | CapRound | set the linecapping style. Choices are CapNotLast (X only), CapButt, CapRound and CapProjecting. |
CROSS | FALSE | if TRUE, axes will cross in (XCROSS,YCROSS) (in user units, see below), otherwise axes will cross in (xmin,ymin) (see plaxes). |
DASHUNIT | 1 | unit in line_style definitions. If set to 0.1, then plot(...,...,1111) plot 0.1 mm down, 0.1 mm up, 0.1 mm down, 0.1 mm up, etcetera. |
HEIGHT | 2 | set the symbol height in mm. |
JOINSTYLE | JoinRound | set linejoining style. Choices are JoinMiter, JoinBevel and JoinRound. |
LEVENTS | FALSE | in X, if TRUE, list events on standard output |
LINESKIP | 2 | distance between lines in plformat in units of symbol height |
OPAQUETEXT | FALSE | if TRUE, the background will be cleared before plotting text |
PENDIA | 0.1 | set the pen diameter. For pen plotters PENDIA should be set to the physical pen diameter, for PostScript printers a value of 0 mm sets the linewidth to the minimum displayable linewidth. In X, a value of ≤ the pixel size draw lines with a width equal to the pixel size. This is usually much faster than larger widths |
PLOTMODE | GXcopy | set the plotting mode. Can be GXcopy (the default and only possibility for PS) or GXxor (the default for X). Effective only for X-windows. |
FALSE | if TRUE, plmess will print its message to stdout in addition to its normal behaviour | |
RECTFILL | FALSE | if TRUE, rectangles will be filled with the current fill color |
RECTSTROKE | TRUE | If TRUE, outlines of rectangles are drawn. |
XANGLE | 0 | x-axis direction in degrees relative to initial x-direction. |
YANGLE | 90 | y-axis direction in degrees relative to initial x-direction. |
XCROSS | 0 | x-position in user units where y-axis crosses the x-axis. Effective only if CROSS!=0 |
YCROSS | 0 | y-position in user units where x-axis crosses the y-axis. Effective only if CROSS!=0 |
XIN | FALSE | if TRUE, scale marks and texts are plotted below the x-axis, if zero, they are plotted above the x-axis |
YIN | FALSE | if TRUE, scale marks and texts are plotted to the left of the y-axis, if zero, they are plotted to the right of the y-axis |
XGRID | FALSE | if TRUE, gridlines are plotted through number bearing scale marks of the x-axis |
YGRID | FALSE | similarly for the y-axis |
XLOG | FALSE | if TRUE, an x-axis with logarithmic divisions will be plotted and the coordinate system will be defined logarithmically in the x-direction. |
YLOG | FALSE | similarly for the y-axis |
XSKIP | 0 | if nonzero, numbers are placed along the x-axis every value scale marks; if zero, numbers are placed automatically. |
YSKIP | 0 | similarly for the y-axis |
XMARK | 0 | if nonzero, scale marks are placed every value user units along the x-axis. If zero, scale marks are placed automatically. |
YMARK | 0 | similarly for the y-axis |
XSQUAR | FALSE | if TRUE, numbers are plotted perpendicularly to the x-axis, if zero, they are placed parallel to the x-axis. |
YSQUAR | TRUE | similarly for the y-axis |