| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
8.3.8 Pallete (Pure C)
- C function:
voidmgl_set_palette (HMGLgr,const char *colors) Sets the palette as selected colors. Default value is
"Hbgrcmyhlnqeup". The palette is used mostly in 1D plots (see section 1D plotting (Pure C)) for curves which styles are not specified.
- C function:
voidmgl_set_pal_color (HMGLgr,intn,floatr,floatg,floatb) Sets color for individual palette entry. Look at
mgl_set_palette()function for simplified palette setting.
- C function:
voidmgl_set_pal_num (HMGLgr,intnum) Sets the number of actual colors in palette. The value must be less then 100.
- C function:
voidmgl_set_scheme (HMGLgr,const char *sch) Sets the color scheme for following plots. Usually this function is used internally. See section Color scheme.
