9 #ifndef EVDB_COLORSCALE_H 10 #define EVDB_COLORSCALE_H 50 double h1=0,
double h2=0,
51 double v1=0,
double v2=0);
67 double*
r,
double*
g,
double*
b)
const;
Blue to orange transition.
Useful for sequential data.
Sequential data with focus in center of scale.
Blue to green transition.
void SetOverFlowColor(int c)
bool InBounds(double x) const
int GetColor(double x) const
Manage all things related to colors for the event display.
int fColors[256]
How many colors in scale?
double fXhi
Numeric value at low end of scale.
void SetBounds(double xlo, double xhi)
Build an association between a numerical range and a ROOT color index for use in, eg...
A color scale primarily in greens.
void MakeHSVScale(int n, double h1, double h2, double vs1, double vs2)
Make a color scale of n colors ranging between two points in an HSV color space.
A color scale primarily in reds.
static int Palette(const std::string &nm)
static int Scale(const std::string &nm)
int fNcolor
Linear? Log? Sqrt?
A color scale primarily in blues.
Rainbow with high and low flipped.
void HSVtoRGB(double h, double s, double v, double *r, double *g, double *b) const
Green to magenta transition.
ColorScale(double xlo, double xhi, int which=kRainbow, int scale=kLinear, int n=40, double h1=0, double h2=0, double v1=0, double v2=0)
_scale_options
How to scale between low and high ranges.
void MakeGreenToMagenta()
A color scale from dark blue (very cold) to red (hot) passing through yellow.
Light earth tones through green to blues.
void SetUnderFlowColor(int c)
int operator()(double x) const
int fUnderFlowColor
List of ROOT color indicies.
int fScale
Numeric value at high end of scale.
int fOverFlowColor
Color to use for under flows.
A color scale primarily in reds.
_color_scales
The list of default color options.
A color scale from light to "burned".
h
training ###############################