[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
4.2.4 Default sizes
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.
- MGL command: barwidth
val
- Method on
mglGraph
:void
SetBarWidth (mreal
val) - C function:
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
.
- MGL command: marksize
val
- Method on
mglGraph
:void
SetMarkSize (mreal
val) - C function:
void
mgl_set_mark_size (HMGL
gr,mreal
val) Sets size of marks for 1D plotting. Default value is
1
.
- MGL command: arrowsize
val
- Method on
mglGraph
:void
SetArrowSize (mreal
val) - C function:
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
.
- MGL command: meshnum
val
- Method on
mglGraph
:void
SetMeshNum (int
val) - C function:
void
mgl_set_meshnum (HMGL
gr,int
num) Sets approximate number of lines in mesh, fall, grid and also the number of hachures in vect, dew and the number of cells in cloud. By default (=0) it draws all lines/hachures/cells.
- MGL command: facenum
val
- Method on
mglGraph
:void
SetFaceNum (int
val) - C function:
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.
- MGL command: plotid 'id'
- Method on
mglGraph
:void
SetPlotId (const char *
id) - C function:
void
mgl_set_plotid (HMGL
gr,const char *
id) Sets default name id as filename for saving (in FLTK window for example).
- Method on
mglGraph
:const char *
GetPlotId () - C function:
const char *
mgl_get_plotid (HMGL
gr) Gets default name id as filename for saving (in FLTK window for example).
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
This document was generated on March 21, 2014 using texi2html 5.0.