manpagez: man pages & more
info mathgl
Home | html | info | man
[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

3.1.4 Default sizes

These variables control the default (initial) values for most graphics parameters including sizes of markers, arrows, linewidth and so on. As any other settings these ones will influence only on plots created after the settings change.

Method on mglGraph (C++, Python): void SetBarWidth ( float val)
C function: void mgl_set_bar_width (HMGL gr, float val)

Sets relative width of rectangles in Bars, Barh, BoxPlot (see section Bars). Default value is 0.7.

Method on mglGraph (C++, Python): void SetMarkSize (float val)
C function: void mgl_set_mark_size (HMGL gr, float val)

Sets size of marks for 1D plotting. Default value is 0.02.

Method on mglGraph (C++, Python): void SetArrowSize (float val)
C function: void mgl_set_arrow_size (HMGL gr, float val)

Sets size of arrows for 1D plotting, lines and curves (see section Primitives drawing). Default value is 0.03.

Method on mglGraph (C++, Python): void SetBaseLineWidth (float val)
C function: void mgl_set_base_line_width (HMGL gr, float val)

Defines the base width for all lines. The value <1 is ignored. For values > 1 the real line width is result of multiplication of specified line width and the value of BaseLineWidth. Increase of this variables is actual for large bitmap pictures. Default value is 1.

Method on mglGraph (C++, Python): void SetTickLen (float val, float stt=1)
C function: void mgl_set_tick_len (HMGL gr, float val, float stt)

The relative length of axis ticks. Default value is 0.1. Parameter stt>0 set relative length of subticks which is in sqrt(1+stt) times smaller.

Method on mglGraph (C++, Python): void SetTickStl (const char *stl, const char *sub=0)
C function: void mgl_set_tick_stl (HMGL gr, const char *stl, const char *sub)

The line style of axis ticks (stl) and subticks (sub). If stl is empty then default style is used (‘k’ or ‘w’ depending on transparency type). If sub is empty then ticks style is used (i.e. stl).

Obsolete option of mglGraph: float BarWidth

Relative width of rectangles. See SetBarWidth().

Obsolete option of mglGraph: float MarkSize

The size of marks. See SetMarkSize().

Obsolete option of mglGraph: float ArrowSize

The size of arrows. See SetArrowSize().

Obsolete option of mglGraph: float BaseLineWidth

The variable define the base width for all lines. See SetBaseLineWidth().


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]
© manpagez.com 2000-2024
Individual documents may contain additional copyright information.