13 auto c =
new TCanvas(
"c",
"", 900, 800);
17 Double_t x[
n] = {-3.00, -2.68, -2.36, -2.05, -1.73};
18 Double_t y1[
n] = {-0.98, -0.89, -0.71, -0.46, -0.16};
19 Double_t y2[
n] = {-2.98, -2.89, -2.71, -2.46, -2.16};
34 legend->
AddEntry(gr1,
"Data points",
"lp");
int Int_t
Signed integer 4 bytes (int).
double Double_t
Double 8 bytes.
virtual void SetFillColor(Color_t fcolor)
Set the fill area color.
virtual void SetLineWidth(Width_t lwidth)
Set the line width.
virtual void SetLineColor(Color_t lcolor)
Set the line color.
virtual void SetMarkerColor(Color_t mcolor=1)
Set the marker color.
virtual void SetMarkerStyle(Style_t mstyle=1)
Set the marker style.
virtual void SetTextSize(Float_t tsize=1)
Set the text size.
void Draw(Option_t *chopt="") override
Default Draw method for all objects.
void SetTitle(const char *title="") override
Set the title of the TNamed.
TLegendEntry * AddEntry(const TObject *obj, const char *label="", Option_t *option="lpf")
void Draw(Option_t *option="") override
Draw this box with its current attributes.
virtual void SetHeader(const char *header="", Option_t *option="")
virtual void SetBorderSize(Int_t bordersize=4)
Sets the border size of the TPave box and shadow.