dear rooters,
I am trying to draw an additional axis to an existing hisotgram, following
the example given in the tutorials.
I cut and pasted the code and put it into my executable, that links the
libraries from:
/afs/cern.ch/sw/root/v3.05.07/rh73_gcc296/root
I don't have any problems in compiling nor running the code, but, even if
I put in the code:
TGaxis axis(gPad->GetUxmax(), gPad->GetUymin(),
gPad->GetUxmax(),
gPad->GetUymax(),0,extremes[sensIndex->second][1],510,"+R");
axis.SetLineColor(1);
axis.SetTextColor(1);
axis.Draw();
the additional axis is not drawn in the pad.
If I remove all the plots before the axis's one, then the axis alone is
plotted without any problem.
Is there anything that I am missing?
Thank you very much
pietro
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:15 MET