RE: access canvas created

From: Fine, Valeri <fine_at_bnl.gov>
Date: Fri, 19 Aug 2011 11:28:21 -0400


Ø Is there a way to access to the canvas just created using the first method

What did you mean "to access"? Can you give us an example (assuming, "yes you can")  

Best regards , Valeri Fine


Brookhaven National Laboratory

Upton, NY 11973

Phone +1-631-344-7806  

From: owner-roottalk_at_root.cern.ch [mailto:owner-roottalk_at_root.cern.ch] On Behalf Of er cuji Sent: Friday, August 19, 2011 11:17 AM
To: roottalk_at_root.cern.ch
Subject: [ROOT] access canvas created  

Hi,  

Dear roots,  

in a macro I am creating a new canvas just giving the command  

new TCanvas()  

instead of  

TCanvas *canvas1 = new TCanvas()  

to avoid declaring every time the object.  

Is there a way to access to the canvas just created using the first method  

Regards  

SI   Received on Fri Aug 19 2011 - 17:29:32 CEST

This archive was generated by hypermail 2.2.0 : Fri Aug 19 2011 - 17:50:02 CEST