Re: [ROOT] TLine and TCanvas::SetLogy

From: Rene Brun (Rene.Brun@cern.ch)
Date: Sun Feb 03 2002 - 17:42:01 MET


Hi Sebastian,

Only high level objects like TH1, TF1, TGraph know about log scales.
For the low level primitives, you must make the conversion.
You can use TGraph(n,x,y) instead of a line or polyline if you
need to toggle between lin/log scales.

Rene Brun


On Sat, 2 Feb 2002, Sebastian Boeser wrote:

> Hello,
> is there a way to draw a line in a canvas that has a log scale ? I have no
> problems drawing lines in linear canvases, but if drawing in a log canvas
> or changing the canvas to logarithmic scale the line immediately vanishes.
> 
> 	Thanks
> 		Sebastian
> 
> ---------------------------------------------------
> 
>     \|/     Sebastian Böser
>    /  ~~
>    @--OO    Rinkartstr. 3
>    \   ?    12437 Berlin
>     \  v    Tel: 030 / 532 19 008
>      ||     sboeser@ph.tum.de
> 



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:40 MET