These variables control the default (initial) values for most graphics parameters including sizes of markers, arrows, line width and so on. As any other settings these ones will influence only on plots created after the settings change.
val
¶mglGraph
: void
SetBarWidth ( mreal
val)
¶void
mgl_set_bar_width (HMGL
gr, mreal
val)
¶Sets relative width of rectangles in bars, barh, boxplot, candle, ohlc. Default value is 0.7
.
val
¶mglGraph
: void
SetMarkSize (mreal
val)
¶void
mgl_set_mark_size (HMGL
gr, mreal
val)
¶Sets size of marks for 1D plotting. Default value is 1
.
val
¶mglGraph
: void
SetArrowSize (mreal
val)
¶void
mgl_set_arrow_size (HMGL
gr, mreal
val)
¶Sets size of arrows for 1D plotting, lines and curves (see Primitives). Default value is 1
.
val
¶mglGraph
: void
SetMeshNum (int
val)
¶void
mgl_set_meshnum (HMGL
gr, int
num)
¶Sets approximate number of lines in mesh, fall, grid2, and also the number of hachures in vect, dew, and the number of cells in cloud, and the number of markers in plot, tens, step, mark, textmark. By default (=0) it draws all lines/hachures/cells/markers.
val
¶mglGraph
: void
SetFaceNum (int
val)
¶void
mgl_set_facenum (HMGL
gr, int
num)
¶Sets approximate number of visible faces. Can be used for speeding up drawing by cost of lower quality. By default (=0) it draws all of them.
'id'
¶mglGraph
: void
SetPlotId (const char *
id)
¶void
mgl_set_plotid (HMGL
gr, const char *
id)
¶Sets default name id as filename for saving (in FLTK window for example).
mglGraph
: const char *
GetPlotId ()
¶const char *
mgl_get_plotid (HMGL
gr)
¶
mgl_get_plotid (long
gr, char *
out, int
len)
¶Gets default name id as filename for saving (in FLTK window for example).