[ROOT] drawing multiple graphs into one plot

From: Jiri Masik (masik@fzu.cz)
Date: Wed Mar 05 2003 - 09:40:43 MET


Hi,

I was trying to plot several graphs with polymarkers into one pad but
I could not display another graph but the first one (CVS head,
linuxdeb2ppc). To demonstrate there is a slightly modified example from
the Users guide.



The original version works fine. It does not work for graphs which are initialized from a histogram. Is something special needed in this case? What is the purpose of these lines SetMaximum(h->GetMaximumStored()); SetMinimum(h->GetMinimumStored()); in the TGraph::TGraph(const TH1 *h) It works when there are commented and they are not present in other ctors. cheers Jiri



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:09 MET