| [ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
4.2.7 Palette and colors
- MGL command: palette 'colors'
- Method on
mglGraph:voidSetPalette (const char *colors) - C function:
voidmgl_set_palette (HMGLgr,const char *colors) Sets the palette as selected colors. Default value is
"Hbgrcmyhlnqeup"that corresponds to colors: dark gray ‘H’, blue ‘b’, green ‘g’, red ‘r’, cyan ‘c’, magenta ‘m’, yellow ‘y’, gray ‘h’, blue-green ‘l’, sky-blue ‘n’, orange ‘q’, yellow-green ‘e’, blue-violet ‘u’, purple ‘p’. The palette is used mostly in 1D plots (see 1D plotting) for curves which styles are not specified. Internal color counter will be nullified by any change of palette. This includes even hidden change (for example, by box or axis functions).
- Method on
mglGraph:voidSetDefScheme (const char *sch) - C function:
voidmgl_set_def_sch (HMGLgr,const char *sch) Sets the sch as default color scheme. Default value is
"BbcyrR".
- Method on
mglGraph:voidSetColor (charid,mrealr,mrealg,mrealb) static - C function:
voidmgl_set_color (charid,mrealr,mrealg,mrealb) Sets RGB values for color with given id. This is global setting which influence on any later usage of symbol id.
| [ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
This document was generated on March 21, 2014 using texi2html 5.0.
