| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
9.2.3 Ticks (Python)
- Method on mglGraph (Python):
voidSetTicks (chardir,floatd=-5,intns=0,floatorg=NAN) Set the ticks step d, number of sub-ticks ns and initial ticks position org for the axis along direction dir. Variable d set step for axis ticks (if positive) or it's number on the axis range (if negative). Zero value set logarithmic ticks. If org value is NAN then value from Org is used.
- Method on mglGraph:
voidSetTicksVal (chardir,intn,float *val,char **lbl) - Method on mglGraph:
voidSetTicksVal (chardir,intn,float *val,wchar_t **lbl) Set the manual positions val and its labels lbl for n-th ticks along axis dir. The arrays val and lbl have to contain n elements. Use
SetTicks()to restore automatic ticks.
- Method on mglGraph (Python):
voidSetTickTemplX (const wchar_t *xtt) - Method on mglGraph (Python):
voidSetTickTemplY (const wchar_t *ytt) - Method on mglGraph (Python):
voidSetTickTemplZ (const wchar_t *ztt) - Method on mglGraph (Python):
voidSetTickTemplC (const wchar_t *ctt) The template for x-,y-,z-axis ticks or colorbar ticks. It may contain TeX symbols also. If xtt, ytt, ztt, ctt=
NULLthen default template is used (in simplest case it is ‘%.2g’) with automatic detaching of common multiplier or common component (see TuneTicks).
- Method on mglGraph (Python):
voidSetTuneTicks (booltune,floatfactor_pos=1.15) Switch on/off ticks enhancing by factoring common multiplier (for small, like from 0.001 to 0.002, or large, like from 1000 to 2000, coordinate values) or common component (for narrow range, like from 0.999 to 1.000). Also set the position of common multiplier/component on the axis: =0 at minimal axis value, =1 at maximal axis value. Default value is 1.15.
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
