Simply do:
c1->RedrawAxis();
at the end of the macro or after the macro execution.
An alternative is to add the following line:
total->GetXaxis()->SetTickLength(-0.02);
after the line
total->Draw("e1p");
Rene Brun
J. Rieling wrote:
>
> -----BEGIN PGP SIGNED MESSAGE-----
>
> hi all,
>
> the output of the tutorial macro hsum.C doesn't look very
> nice because the x-axis tick marks disappeared (the filled
> histograms have a lower graphical depth).
>
> to overcome this problem, i tried histogram->Pop(). but
> that doesn't work because the entire area of the histogram
> is cleared before the lines are painted...
>
> ideas/comments/suggestions?
>
> j"org.
>
> __________________________________________________________________________
> dr. j. rieling / daimlerChrysler aerospace, orbital systems & operations
> fon +49 421 5395643 fax +49 421 5395127 joerg.rieling@ri.dasa.de
>
> -----BEGIN PGP SIGNATURE-----
> Version: PGPfreeware 5.0i for non-commercial use
> Charset: noconv
>
> iQCVAwUBN4MSxjj2v2S/jY1FAQH5swQAmu1ncyg5WcWGPAquX2OK66zfEJx/OnV0
> w3w/YThYjkp7bNSSfgdK2/nMn4WsamR+zy92zJcUMyOO54qF/Gn2vDbzvTsKxixS
> ksGOLxy5qyWhKXX2JvF73RXfYUtQWAXkDh8ofz8h4wRoYdA/0iXy7adYSLrxxklR
> qBoyrpsdKCU=
> =jWPb
> -----END PGP SIGNATURE-----