[ROOT] Superimposing two histograms

From: Tania Moulik (tmoulik@fnal.gov)
Date: Tue Apr 01 2003 - 23:56:21 MEST


Hi,
  I am using root version 3.03 on a Linux machine.
I am trying to superimpose two histograms. Both 
are normalised to 1 but one has a ymax much larger
than the other. So I am using first a frame to 
define the coordinates so both histograms are within
the frame. So I am doing:
c1->DrawFrame(0.0,0.0,2.0,0.1);
hist1->SetFillColor(5);
hist1->Draw("SAME")
hist2->Draw("SAMEE0");
The problem is when I superimpose hist1 on the frame,
it blots out the tickmarks. Can someone suggest 
a workaround?

Thanks,
Tania.



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