Hi Olivier
I did gPad.SaveAs('graph.C'), it is attached. For some reason it gives errors, I didn't correct them.
Margar
On Wed, Mar 2, 2011 at 2:35 PM, Olivier Couet <Olivier.Couet_at_cern.ch> wrote:
> Hi,
> It looks like you are using Python but I can try to see if it does the same
> with cint. Can you send a macro defining g1 g2 and g3 ?
> Cheers,
> oc
>
> -----Original Message-----
> From: owner-roottalk_at_root.cern.ch [mailto:owner-roottalk_at_root.cern.ch] On Behalf Of Margar Simonyan
> Sent: Wednesday, March 02, 2011 2:32 PM
> To: roottalk (Mailing list discussing all aspects of the ROOT system.)
> Subject: [ROOT] multiple TGraphs in the same pad
>
> Hello
>
> initially I thought that this is too simple post, but ...
>
> I have several graphs,
>
> g1.Draw('AP')
> g2.Draw('P')
>
> now I can zoom both axis, everything is Ok.
>
> g3.Draw('P')
>
> it is not possible to zoom any more, why? This must be simple.
>
> I tried TMultiGraph, it works, but it owns TGraphs and I get double
> delete problem because of Python memory management during reload. Why
> TMultiGraph must own its TGraphs?
>
> Thanks,
> Margar
>
> -------------------------------------------------------------------------
> Dr Margar Simonyan, post-doctoral researcher
> Niels Bohr Institute, Copenhagen University
> -------------------------------------------------------------------------
>
>
This archive was generated by hypermail 2.2.0 : Thu Mar 03 2011 - 11:50:01 CET