| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
10.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.
The full list of options are:
- MGL command: alpha
val Sets alpha value (transparency) of the plot. The value should be in range [0, 1].
- MGL command: alphadef
val Sets alpha value (transparency) of the plot. The value should be in range [0, 1].
- MGL command: ambient
val Sets brightness of ambient light for the plot. The value should be in range [0, 1].
- MGL command: cut
val Sets whether to cut or to project the plot points lying outside the bounding box.
- MGL command: legend 'txt'
Adds string 'txt' to internal legend accumulator. The style of described line and mark is taken from arguments of the plot command. The maximal number of entries is 100.
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
