Hello Rooters, I would like first to wish a happy new year to everybody. With the new year, and the new version of ROOT, I am again facing a PostScript display problem. I have joint a small script file which shows the problem (type .x testPostscript.C tu run it). When the left margin is equal to 0.1 (default value), the uppermost label (10000) is not present in the EPS file (see c1_3-10-02_1.eps). This problem was not present in the previous version V3.10.00 (see c1_3-10-00_*.eps files after running testPostscript.C), even if the labels where not correctly located in the EPS files. If in version V3.10.02 I change the left margin to 0.03, the labels are all removed in the EPS file (see c1_3-10-02_2.eps). When I change now the left margin to 0.2, all labels are present in the EPS file (see c1_3-10-02_2.eps). This feature is present in versions V3.10.02 running on RH9 and on AlphaUnix TRU64. Could anybody help to fix this? I have noticed that a change of version was often (not always) leading to changes in the way the PostScript files are generated from TCanvas::Save(). This is quite annoying since the user is not sure to recover the same EPS or PS files from the same script or function when changing the ROOT version. Is there a way to fix this feature? Thanks in advance for your help. -- Daniel CUSSOL LPC Caen IN2P3/ENSICAEN/Universite de 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 { TCanvas *c1=new TCanvas("c1","c1",500,50,500,500); TString fsave; double marginsize[3]={0.1,0.03,0.2}; TString version(gROOT->GetVersion()); version.ReplaceAll(".","-"); version.ReplaceAll("/","-"); for(int i=0;i<3;i++) { c1->SetLeftMargin(marginsize[i]); c1->DrawFrame(0,0,100,10000); fsave="c1_"; fsave+=version; fsave+="_"; fsave+=i+1; fsave+=".eps"; c1->SaveAs(fsave.Data()); } }
This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:05 MET