| [ < ] | [ > ] | [ << ] | [ 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):voidSetBarWidth (floatval) - C function:
voidmgl_set_bar_width (HMGLgr,floatval) Sets relative width of rectangles in Bars, Barh, BoxPlot (see section Bars). Default value is
0.7.
- Method on
mglGraph(C++, Python):voidSetMarkSize (floatval) - C function:
voidmgl_set_mark_size (HMGLgr,floatval) Sets size of marks for 1D plotting. Default value is
0.02.
- Method on
mglGraph(C++, Python):voidSetArrowSize (floatval) - C function:
voidmgl_set_arrow_size (HMGLgr,floatval) Sets size of arrows for 1D plotting, lines and curves (see section Primitives drawing). Default value is
0.03.
- Method on
mglGraph(C++, Python):voidSetBaseLineWidth (floatval) - C function:
voidmgl_set_base_line_width (HMGLgr,floatval) 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):voidSetTickLen (floatval,floatstt=1) - C function:
voidmgl_set_tick_len (HMGLgr,floatval,floatstt) The relative length of axis ticks. Default value is
0.1. Parameter stt>0 set relative length of subticks which is insqrt(1+stt)times smaller.
- Method on
mglGraph(C++, Python):voidSetTickStl (const char *stl,const char *sub=0) - C function:
voidmgl_set_tick_stl (HMGLgr,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:
floatBaseLineWidth The variable define the base width for all lines. See
SetBaseLineWidth().
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
