Re: Divide and SetLogy in TCanvas

From: Otto Schaile (Otto.Schaile@Physik.uni-muenchen.de)
Date: Fri Aug 06 1999 - 09:41:28 MEST


On Fri, 6 Aug 1999, Volker Hejny wrote:

> Hi,
> 
> maybe this is a trivial question, but I didn't get it:
> 
> I have some TCanvas and divide it:
> 
> TCanvas* test = TCanvas("test",.....);
> test->Divide(3,3);
> test->cd(1);
> 
> How can switch to log scale in this division?

Hi  Volker
either you can do it with popup you get with the right mouse outside
the frames of the hists or by the command:

TCanvas* test = TCanvas("test",.....);
test->Divide(3,3);
test_1->SetLogy();

According to root.cern.ch/root/html/TPad.html#TPad:Divide
Divide creates Pads with names:"test_1", "test_2"... if the
name of the original is: "test"
> 
Best regards, Otto
> 

----------------------------------------------------------------------------
Otto Schaile                    Sektion Physik der LMU Muenchen
Phone: (+49 89)289 14070        Am Coulombwall 1, D-85748 Garching, Germany
FAX:   (+49 89)289 14072        EMail: Otto.Schaile@Physik.Uni-Muenchen.DE



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:37 MET