multiple TGraphs in the same pad

From: Margar Simonyan <margar.simonyan_at_gmail.com>
Date: Wed, 2 Mar 2011 14:32:28 +0100


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

Received on Wed Mar 02 2011 - 14:32:33 CET

This archive was generated by hypermail 2.2.0 : Wed Mar 02 2011 - 17:50:01 CET