Hi,
OK, I'll try with CINT.
Could you also try with PyRoot ?
Exactly which root version did you use yourself, and what platform ?
cheers Chris
Olivier Couet wrote:
> Hi,
> I just tried with the last ROOT version on my Linux machine and it is
> fine for me.
> (with CINT of course :-) ).
> Cheers,
> O.Couet
>
> -----Original Message-----
> From: Chris Jones [mailto:jonesc_at_hep.phy.cam.ac.uk]
> Sent: Monday, September 06, 2010 1:07 PM
> To: Olivier Couet
> Cc: roottalk_at_root.cern.ch
> Subject: Re: [ROOT] TCanvas creates PDFs with extra blank page ?
>
> Hi,
>
>> Do you get the same with the CINT macro ?
>> Which root version are you using ?
>> On which platform ?
>> Cheers, >> O. Couet >> >> -----Original Message----- >> From: owner-roottalk_at_root.cern.ch [mailto:owner-roottalk_at_root.cern.ch] >> On Behalf Of Chris Jones >> Sent: Monday, September 06, 2010 12:43 PM >> To: roottalk_at_root.cern.ch >> Subject: [ROOT] TCanvas creates PDFs with extra blank page ? >> >> Hi, >> >> I use the TCanvas.Print method with the "[" and "]" syntax to full >> multipage PDF and PS files from a PyRoot script. i.e. >> >> canvas = TCanvas() >> >> # Open the file >> canvas.Print("File.pdf[") >> >> # print some pages (after plotting histograms etc.) >> canvas.Print("File.pdf") >> >> # Close the file >> canvas.Print("File.pdf]") >> >> I've noticed that if I create a PDF, my preferred format, I always >> seem to get an unwanted extra blank page at the start of the document.
>> If, on the other hand I create PS files instead, I don't. See as >> examples >> >> <http://www.hep.phy.cam.ac.uk/~jonesc/HPDImageCalibrationByFill.ps> >> <http://www.hep.phy.cam.ac.uk/~jonesc/HPDImageCalibrationByFill.pdf> >> >> Any ideas why ? >> >> cheers Chris >>
This archive was generated by hypermail 2.2.0 : Mon Sep 06 2010 - 17:50:01 CEST