Hi Sean, You can find an example in the Root tutorial zdemo.C, see URL: http://root.cern.ch/root/html/examples/zdemo.C.html You can use TPad::DrawFrame (as in zdemo.C) or create a TH1F or TH2F to set the scale/draw axis. Rene Brun Sean Kelly wrote: > > > Hi Rooters, > > I'm trying to get a semi-log plot to show graphical data that > varies over 12 orders of magnitue. > > eg. > > c1->SetLogy(); > gr = new TGraph(145,mtv,ptinv_dndpt); > gr->Draw("AP"); > > when I make the plot the graph only shows data > 10^7. > The vectors mtv and ptinv_dndpt are filled correctly > with data that ranges in decades from 10^0 to 10^12. > > any ideas are appreciated. > > Sean > > _____________________________________________ > > Sean Kelly > Dept. of Physics > University of California Los Angeles > office tel. (310)-825-6035 > fax (310)-206-4397 > voice mail (310)-259-3747 > _____________________________________________
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:38 MET