13 c1 =
new TCanvas(
"c1",
"Examples of Gaxis",10,10,700,500);
15 c1->Range(-10,-1,10,1);
21 TGaxis *axis2 =
new TGaxis(-5,0.2,6,0.2,0.001,10000,510,
"G");
25 TGaxis *axis3 =
new TGaxis(-9,-0.8,-9,0.8,-8,8,50510,
"");
29 TGaxis *axis4 =
new TGaxis(-7,-0.8,-7,0.8,1,10000,50510,
"G");
33 TGaxis *axis5 =
new TGaxis(-5,-0.6,6,-0.6,1.2,1.32,80506,
"-+");
41 TGaxis *axis6 =
new TGaxis(-5,0.6,6,0.6,100,900,50510,
"-");
45 TGaxis *axis7 =
new TGaxis(8,-0.8,8,0.8,0,9000,50510,
"+L");
virtual void SetName(const char *name)
Change the name of the axis.
virtual void Draw(Option_t *option="")
Default Draw method for all objects.
virtual void SetTextFont(Font_t tfont=62)
Set the text font.
void SetLabelSize(Float_t labelsize)
void SetLabelOffset(Float_t labeloffset)