Hello, I have also had some problems in the conversion to postscript, particularly with the TLatex class. Here's an example: { TCanvas* c = new TCanvas("c","test",0,0,400,400); TLine l(.2,.5,.8,.5); l.SetLineWidth(4); l.Draw(); TLine l2(.2,.4,.8,.4); l2.SetLineWidth(8); l2.Draw(); TLatex tex(0.2,0.6,"#lambda_{bare} = 4TeV^{2}/#Lambda^{2}"); tex.Draw(); TPave pave2(0.1,0.05,0.5,0.1); pave2.Draw(); TLatex tex9(0.15,0.068,"#lambda=4^{-2}/#Lambda^{2}"); tex9.SetTextAlign(12);tex9.SetTextSize(0.05);tex9.Draw(); TLine l3(.35,.068,.45,.068); l3.SetLineWidth(4); l3.Draw(); } If I save this canvas as both gif and ps I find: 1) the gif looks exactly as it should 2) in the postscript file -the spacing for the exponent isn't quite right i.e. in TeV^{2} the 2 overlaps the TeV -the location of the TLatex relative to the TLine and the TPave isn't right (line is lower than it should be, latex is high relative to the TPave) -the line width is different for the postscript These problems mean that I need to do a lot of fine tuning to make publishable plots in postscript. I'm using ROOT/v2.22/i386_redhat51. I would find a method TLatex::DrawLatexNDC (similar to DrawTextNDC) very handy in an upcoming release. Matt _________________________________________________________________________ Matt D O B B S CERN EP Division, ATLAS Experiment Office Tel: 41.22.76.71272 (Swiss) Office: 40-1-C15, ATLAS Bldg. Home Tel: 0450 282544 (France) Email: Matthew.Adam.Dobbs@Cern.CH http://wwwhep.phys.uvic.ca/~mdobbs/ Department of Physics and Astronomy, University of Victoria, Canada
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:40 MET