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

From: Daniel Cussol (cussol@in2p3.fr)
Date: Thu Apr 03 2003 - 15:50:25 MEST


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



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