17 int colors[] = {
kRed,
kRed+3,
kMagenta, kMagenta+3,
kBlue, kBlue+3,
kCyan+3,
kGreen, kGreen+3,
kYellow,
kOrange };
19 for (
int degree=0; degree <=10; ++degree) {
26 TString opt = (degree == 0) ?
"" :
"same";
virtual void SetNpx(Int_t npx=100)
Set the number of points used to draw the function.
This class displays a legend box (TPaveText) containing several legend entries.
virtual void Draw(Option_t *option="")
Draw this legend with its current attributes.
virtual void Draw(Option_t *option="")
Draw this function with its current attributes.
virtual void SetMinimum(Double_t minimum=-1111)
Set the minimum value along Y for this function In case the function is already drawn, set also the minimum in the helper histogram.
static TString Format(const char *fmt,...)
Static method which formats a string using a printf style format descriptor and return a TString...
virtual void SetLineColor(Color_t lcolor)
Set the line color.
virtual void SetMaximum(Double_t maximum=-1111)
Set the maximum value along Y for this function In case the function is already drawn, set also the maximum in the helper histogram.
virtual void SetTitle(const char *title="")
Set function title if title has the form "fffffff;xxxx;yyyy", it is assumed that the function title i...
TLegendEntry * AddEntry(const TObject *obj, const char *label="", Option_t *option="lpf")
Add a new entry to this legend.
virtual void SetParameter(Int_t param, Double_t value)