Command options allow the easy setup of the selected plot by changing global settings only for this plot. Each option start from symbol ‘;’. Options work so that MathGL remember the current settings, change settings as it being set in the option, execute function and return the original settings back. So, the options are most usable for plotting functions.
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");
or plot y; xrange 0.1 0.9
the x coordinate will be equidistantly distributed in range 0.1 ... 0.9. See Using options, for sample code and picture.
val
¶Sets alpha value (transparency) of the plot. The value should be in range [0, 1]. See also alphadef.
val1 val2
¶Sets boundaries of x coordinate change for the plot. See also xrange.
val1 val2
¶Sets boundaries of y coordinate change for the plot. See also yrange.
val1 val2
¶Sets boundaries of z coordinate change for the plot. See also zrange.
val
¶Sets whether to cut or to project the plot points lying outside the bounding box. See also cut.
Adds string ’txt’ to internal legend accumulator. The style of described line and mark is taken from arguments of the last 1D plotting command. See also legend.
val
¶Set the value to be used as additional numeric parameter in plotting command.