Re: [ROOT] Problems in displaying labels for TGaxis in log scale

From: Olivier Couet (Olivier.Couet@cern.ch)
Date: Thu Apr 03 2003 - 17:36:38 MEST


Hi,

This is now fixed in the CVS repository. Thanks to have reported it.

 Cheers,        Olivier



On Thu, 3 Apr 2003, Daniel Cussol wrote:

> Hello happy rooters,
>  I am facing the following problem: when I plot a TGaxis with the "LG+" 
> option, the superscripts are not correctly placed (too much to the left). 
> I join the smal script which illustrates the display problem. 
> 
> {
> TCanvas *c1=(TCanvas *)gROOT->FindObject("c1");
> if(!c1) c1=new TCanvas("c1");
> else c1->cd();
> TGaxis *ga1=new TGaxis(0.1,0.1,0.1,0.9,1,100000,510,"G");
> TGaxis *ga2=new TGaxis(0.3,0.1,0.3,0.9,1,100000,510,"LG+");
> ga1->Draw();
> ga2->Draw();
> } 
> 
>  I have checked that this problem occurs for the 3.03.09 versions on Linux
> RH7.2 and on Tru64 Unix alpha (alphacxx config), and on the 3.04.02
> version on Tru64 Unix alpha (alphacxx config). Is there a way to correct
> this? This problem occurs also when the ZCOL option is used to draw a TH2
> object with the Logz option set to kTRUE for the current TPad. 
>  Thank you for your help
> 
> Daniel CUSSOL
> 
> LPC Caen
> Boulevard du Marechal Juin
> 14050 CAEN CEDEX
> 
> e-mail : cussol@in2p3.fr
> Tel    : +33-(0)2-31-45-29-73
> FAX    : +33-(0)2-31-45-25-49
> 
> 

-- 
Org:    CERN - European Laboratory for Particle Physics.
Mail:   1211 Geneve 23 - Switzerland                     Mailbox: J25910      
E-Mail: Olivier.Couet@cern.ch                            Phone:   +41 22 7676522
WWW:    http://cern.ch/Olivier.Couet/                    Fax:     +41 22 7677155



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:10 MET