Divide canvas and SetPhi()?

From: William Love <love_at_bnl.gov>
Date: Fri, 17 Mar 2006 17:24:50 -0500


Root experts

   While I'm asking my simple minded questions I'll bring up another.

  Using Version 4.04/02

  I divide the canvas and want to change the Phi viewing angle for the sub canvases.

  If I do:
 c1->Divide(2,1);

    c1_1->SetPhi(225.0);
    c1_2->SetPhi(225.0);

  CINT may complain but does what I want. If, however, I try to compile the script with ACLIC  the compiler says c1_1 and c1_2 are not declared and balks. If I declare c1_1 and c1_2 TCanvas c1_1, c1_2;
then Divide does not use those canvases so the SetPhi commands do nothing. How do I solv  this problem?

                     Bill Love
Received on Fri Mar 17 2006 - 23:06:39 MET

This archive was generated by hypermail 2.2.0 : Mon Jan 01 2007 - 16:31:57 MET