Next: , Previous: , Up: Graphics setup   [Contents][Index]


5.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, grid2 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 only: const char * mgl_get_plotid (HMGL gr)
Fortran subroutine: mgl_get_plotid (long gr, char *out, int len)

Gets default name id as filename for saving (in FLTK window for example).

MGL command: pendelta val
Method on mglGraph: void SetPenDelta (double val)
C function: void mgl_pen_delta (HMGL gr, double val)

Changes the blur around lines and text (default is 1). For val>1 the text and lines are more sharped. For val<1 the text and lines are more blurred.





Next: , Previous: , Up: Graphics setup   [Contents][Index]