Dear Rooters I have some questions regarding graphs: 1, When I draw a 2-dim graph, I would like to set the axis range for both x- and y-axis. However, I am only able to set the range for y: TCanvas *vC1 = new TCanvas("vC1","Graph example",200,10,700,700); TGraph *vGraph = new TGraph(num,x,y); vGraph->SetMinimum(2); vGraph->SetMaximum(7); Do you know, how I can set the range for the x-axis? 2, What does function Smooth do? The following seems to have no effect: vGraph->Smooth(num,x,y,2); //num > 10000 vGraph->Draw("AP"); How do I use Smooth? What does the parameter "drawtype" do? Thank you in advance for your help. My system: PowerBook LinuxPPC 2000, root 3.01/02 Best regards Christian ---------------------------------- C.h.r.i.s.t.i.a.n S.t.r.a.t.o.w.a V.i.e.n.n.a, A.u.s.t.r.i.a
This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:46 MET