Re: [ROOT] Divide pad problem

From: Maxim Nikulin (
Date: Thu Feb 26 2004 - 12:30:12 MET

Dear Olivier,

You wrote:
>>Pixels are good units for plots on a screen. What should I do if I wish
>>just 12 pt font size in the PostScript file?
>  The text you'll see on screen (in pixel size) will be exactly the same in 
> the PostScript file. But I cannot guarantee that if you fix the size to 12 
> pixels, that will correspond exactly, for instance, to a 12pt size in a 
> Word document ...

The problem is to get exact sizes on a PostScript plot. For example, 
what should I do if I want a 5x5 cm picture containing a 12 pt label. 
The script attached sets 5x5 cm paper size, 12 px font and draws a TText 
in 50x50 px and 200x200 px canvases, prints their to .eps files. I get 
plots having different height/width ratio (of course != 1).

Best regards,
Maxim Nikulin

   gStyle->SetPaperSize(5, 5);
   c50x50 = new TCanvas("c50x50", "c50x50", 50, 50);
   text1 = new TText(.10, .10, "Text");
   c200x200 = new TCanvas("c200x200", "c200x200", 200, 200);


This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:06 MET