mandelbrot.C: Using TExec to handle keyboard events and TComplex to draw the Mandelbrot set. | Basic Graphics | markerwarning.C: This script illustrates the danger of using asymmetric symbols. |
{ // show several TGaxis formats gROOT.Reset(); c1 = new TCanvas("c1","Examples of Gaxis",10,10,700,500); c1->Range(-10,-1,10,1); TGaxis *axis1 = new TGaxis(-5,-0.2,6,-0.2,-6,8,510,""); axis1->SetName("axis1"); axis1->Draw(); TGaxis *axis2 = new TGaxis(-5,0.2,6,0.2,0.001,10000,510,"G"); axis2->SetName("axis2"); axis2->Draw(); TGaxis *axis3 = new TGaxis(-9,-0.8,-9,0.8,-8,8,50510,""); axis3->SetName("axis3"); axis3->Draw(); TGaxis *axis4 = new TGaxis(-7,-0.8,-7,0.8,1,10000,50510,"G"); axis4->SetName("axis4"); axis4->Draw(); TGaxis *axis5 = new TGaxis(-5,-0.6,6,-0.6,1.2,1.32,80506,"-+"); axis5->SetName("axis5"); axis5->SetLabelSize(0.03); axis5->SetTextFont(72); axis5->SetLabelOffset(0.025); axis5->Draw(); TGaxis *axis6 = new TGaxis(-5,0.6,6,0.6,100,900,50510,"-"); axis6->SetName("axis6"); axis6->Draw(); TGaxis *axis7 = new TGaxis(8,-0.8,8,0.8,0,9000,50510,"+L"); axis7->SetName("axis7"); axis7->SetLabelOffset(0.01); axis7->Draw(); } manyaxis.C:1 manyaxis.C:2 manyaxis.C:3 manyaxis.C:4 manyaxis.C:5 manyaxis.C:6 manyaxis.C:7 manyaxis.C:8 manyaxis.C:9 manyaxis.C:10 manyaxis.C:11 manyaxis.C:12 manyaxis.C:13 manyaxis.C:14 manyaxis.C:15 manyaxis.C:16 manyaxis.C:17 manyaxis.C:18 manyaxis.C:19 manyaxis.C:20 manyaxis.C:21 manyaxis.C:22 manyaxis.C:23 manyaxis.C:24 manyaxis.C:25 manyaxis.C:26 manyaxis.C:27 manyaxis.C:28 manyaxis.C:29 manyaxis.C:30 manyaxis.C:31 manyaxis.C:32 manyaxis.C:33 manyaxis.C:34 manyaxis.C:35 manyaxis.C:36 manyaxis.C:37 manyaxis.C:38 manyaxis.C:39 manyaxis.C:40 manyaxis.C:41 manyaxis.C:42 manyaxis.C:43 |
|