manpagez: man pages & more
info mathgl
Home | html | info | man
[ < ] [ > ]   [ << ] [ 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: crange val1 val2

Sets boundaries of color change for the plot.

MGL command: xrange val1 val2

Sets boundaries of x coordinate change for the plot.

MGL command: yrange val1 val2

Sets boundaries of y coordinate change for the plot.

MGL command: zrange val1 val2

Sets boundaries of z coordinate change for the plot.

MGL command: cut val

Sets whether to cut or to project the plot points lying outside the bounding box.

MGL command: fontsize val

Sets the size of text.

MGL command: marksize val

Sets the size of marks.

MGL command: meshnum val

Work like meshnum command.

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] [ ? ]
© manpagez.com 2000-2026
Individual documents may contain additional copyright information.