Saving multipad TCanvas in EPS and PDF

From: Vassili Maroussov <>
Date: Mon, 11 Apr 2011 18:03:55 +0200

Here is the TCanvas saved as ROOT macro...

On 04/11/2011 05:36 PM, Vassili Maroussov wrote:
> Dear ROOTers,
> In quite a long macro I'm obtaining a TCanvas divided in 3x2 pads,
> each pad contains 3 histograms drawn. I was surprised to find that
> graphic file coincides with the TCanvas drawn on the screen only for
> PNG and GIF formats. For EPS and for PDF formats the result is
> similarly distorted: wrong line width a little bit different colors,
> etc. I'm observing the same behavior for ROOT versions from 5.26.00b
> through 5.28.00b, both in interactive and batch modes. I'm using (an
> outdated...) FC 12 x86_64.
> Is the problem described already known? Sorry for not providing a
> "minimal" macro example this time.
> Regards,
> Vassili
> P.S. What I'm surprised with even more: it seems I have no problems
> saving these histogram's "triads" drawn in single (not divided) TCanvas
> P.P.S. It seems JPEG contains much too much
> lossy-compression-artifacts as well, although at least the geometry
> is OK.

Received on Mon Apr 11 2011 - 18:04:03 CEST

This archive was generated by hypermail 2.2.0 : Tue Apr 12 2011 - 05:50:01 CEST