Numeric vector

Syntax: SET AREAFILLCOLOR c
GET AREAFILLCOLOR { c }

If HISTOGRAMTYPE is 2 (or 4), then the area under each individual histogram bar can be filled with a specific color. If c is a numeric vector, histogram bar i will be filled with color code c[i]. A negative value represents the index of a fixed color, and a positive value represents the index of a color in the currently loaded COLORMAP.

For example, suppose c is a numeric vector and you enter SET AREAFILLCOLOR C :

c[i] = 2 uses the COLORMAP index 2
c[i] = -2 uses the fixed color index 2 ("RED")

If HISTOGRAMTYPE = 0, then the GRAPH command produces a normal line graph. If AREAFILLCOLOR is set to numeric vector c, the area under the curve will be filled with the color code c[0].

If HISTOGRAMTYPE = 1 (or 3), then the GRAPH command produces a histogram profile without tails. If AREAFILLCOLOR is set to numeric vector c, the histogram profile will be filled with the color code c[0].

  Single numeric value or fixed color name
  Curve example