Hi, I am making a big TMultiGraph with a large number of TGraphs in it. I would like to color the lines of the contained TGraph based on a parameter that was used for generating them (an integer, ranging from 1-10 ish). Is there an easy way to get a good gradient of color for the parameter values?
I know how to set the global palette using gStyle->SetPalette (I prefer #53 myself) for drawing histograms with the “colz” options, but I don’t know how to get a TColor value corresponding to a value in a range. Is there a method somewhere for that? Or can someone point me at the code used internally by the “colz” method that does the calculation?