Re: How to draw graph without axis ?

From: Boris Skorodumov <bskorodo_at_nd.edu>
Date: Mon, 09 Jan 2006 21:17:09 -0500
Thank you Olivier !
Sorry, the last letter i did not formulate correctly: what i really mean is how to get rid of frame  ?
or in other words, i do not want to draw frame itself, but only graph or histogram on the pad. I was tryinng to set up border size of frame 0, but it did not help me.
thank you,
boris.
Boris Skorodumov, PhD Student 
Physics Department      
University of Notre Dame
In 46556, USA
http://www.nd.edu/~bskorodo


Olivier Couet wrote:
Try this:

   gr->GetYaxis()->SetLabelSize(0);
   gr->GetYaxis()->SetTickLength(0);
   gr->GetXaxis()->SetLabelSize(0);
   gr->GetXaxis()->SetTickLength(0);
   gr->Draw("AC")

O.Couet

On Sun, 8 Jan 2006, Boris Skorodumov wrote:

  
If i am not using option A in Draw function, it did not help...

gr->Draw("AC") should be axis
gr->Draw("?") without axis ....

Thank you.


    

  
Received on Tue Jan 10 2006 - 03:17:07 MET

This archive was generated by hypermail 2.2.0 : Mon Jan 01 2007 - 16:31:56 MET