[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
8.24 Command options (MGL)
Command options allow the easy setup of the plot by changing of global settings only for this plot. Options are specified at the end of string. Each option is separated from the previous text by symbol ‘;’. Options work so that them remember the current settings, change settings as it being set in the option, execute command and return the original settings back. So, the options usage for data handling commands or for graphics setup commands is useless.
The most useful options are xrange, yrange, zrange
. They sets the boundaries for data change. This boundaries are used for automatically filled variables. So, these options allow one to change the position of some plots. For example, in command plot y; xrange 0.1 0.9
the x coordinate will be equidistantly distributed in range 0.1 ... 0.9.
- MGL option: alpha
val
- MGL option: alphadef
val
Sets alpha value (transparency) of the plot. The value should be in range [0, 1]. See also alphadef.
- MGL option: ambient
val
Sets brightness of ambient light for the plot. The value should be in range [0, 1]. See also ambient.
- MGL option: crange
val1 val2
Sets boundaries of color change for the plot. See also crange.
- MGL option: xrange
val1 val2
Sets boundaries of x coordinate change for the plot. See also xrange.
- MGL option: yrange
val1 val2
Sets boundaries of y coordinate change for the plot. See also yrange.
- MGL option: zrange
val1 val2
Sets boundaries of z coordinate change for the plot. See also zrange.
- MGL option: cut
val
Sets whether to cut or to project the plot points lying outside the bounding box. See also cut.
- MGL option: fontsize
val
Sets the size of text. See also font.
- MGL option: marksize
val
Sets the size of marks. See also marksize.
- MGL option: meshnum
val
Work like meshnum command.
- MGL option: legend 'txt'
Adds string ’txt’ to internal legend accumulator. The style of described line and mark is taken from arguments of the last 1D plotting (MGL) command. See also legend.
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |