Hi Giovanni,
I experienced problems that sound similar without being exactly the same
(sorry if it does not answer your question) so just to share my little
experience:
The problem occured when the canvas is resized by root because it overfit
the screen. I found two solutions, the first one is to launch root in batch
mode (root -b), which mean you will not see the canvas, or to instantiate
the canvas with an appropriate size. The problem does not occure when you
save the canvas as a macro because it is already resized I guess.
Using the batch mode is also the only way I found to obtain High resolution png.
Regards, ADrien
On Thu, May 3, 2012 at 9:55 AM, Feverati <feverati_at_lapp.in2p3.fr> wrote:
> Hi Olivier
>
> the program that generates my plots is very long and with a complicated
> input part. Thus, I have tried to generate a macro by
> File -> Save -> filename.C
> Well, it turns out that the macro filename.C works perfectly without
> problems while the problem still persists in the original program.
>
> I have also observed that files saved in jpg, gif or png formats are fine.
> The problem appears with pdf only.
>
> Giovanni
>
>
>
>
>
> On 30/04/2012 23:31, Olivier Couet wrote:
>
>> Can you send a macro reproducing the problem ?
>>
>>
>> Le 30 avr. 2012 à 17:41, "Feverati"<feverati_at_lapp.**in2p3.fr<feverati_at_lapp.in2p3.fr>>
>> a écrit :
>>
>> Dear experts
>>>
>>> I have the following problem in saving images.
>>> An image is correctly saved if eps format is used but is wrongly saved
>>> if I use pdf. Actually, it partially sliced out, as you can see in the
>>> attached files.
>>> The print goes by a very standard
>>>
>>> c1->Print(file.eps) or file.pdf command
>>>
>>> Root Version 5.30/06 10 January 2012
>>> on a Fedora 16 machine.
>>>
>>> Thank you in advance,
>>>
>>> Giovanni Feverati
>>>
>>>
>>> --
>>> Dr. Giovanni Feverati
>>> Gemini team (biophysics)
>>> Laboratoire de physique theorique
>>> 74941 Annecy-le-Vieux,France
>>> tel: 33450091682
>>> feverati_at_lapp.in2p3.fr
>>>
>>> <d_4RVE_EB_1_10,1_200.eps>
>>> <d_4RVE_EB_1_10,1_200.pdf>
>>>
>>
>
> --
> Dr. Giovanni Feverati
> Gemini team (biophysics)
> Laboratoire de physique theorique
> 74941 Annecy-le-Vieux,France
> tel: 33450091682
> feverati_at_lapp.in2p3.fr
>
>
Received on Sat May 05 2012 - 11:07:53 CEST
This archive was generated by hypermail 2.2.0 : Mon May 07 2012 - 23:50:01 CEST