if c1 is your canvas do:
c1->SetFrameFillColor(0); c1->SetFrameFillStyle(0); c1->SetFrameLineColor(0); c1->SetFrameBorderMode(0);
I hope it helps.
On Mon, 9 Jan 2006, Boris Skorodumov wrote:
> 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.
>
>
>
>
>
>
-- Org: CERN - European Laboratory for Particle Physics. Mail: 1211 Geneve 23 - Switzerland Mailbox: J25910 E-Mail: Olivier.Couet_at_cern.ch Phone: +41 22 7676522 WWW: http://cern.ch/Olivier.Couet/ Fax: +41 22 7670300Received on Tue Jan 10 2006 - 14:40:13 MET
This archive was generated by hypermail 2.2.0 : Mon Jan 01 2007 - 16:31:56 MET