Re: Update PostScript [message #67228] |
Tue, 21 July 2009 04:17 |
Lasse Clausen
Messages: 22 Registered: August 2001
|
Junior Member |
|
|
On 20 July, 17:46, FÖLDY Lajos <fo...@rmki.kfki.hu> wrote:
> On Mon, 20 Jul 2009, Xavi Llort wrote:
>> Hi everybody!
>
>> I have an easy question... Can I open a PostScript file to include a
>> new plot in it, without erasing the current information?
>
>> For example, I create a PostScript in a given routine, and later on, I
>> want to include a new plot -in the same PS file- in an other routine.
>
>> Thank you very much!
>
> In IDL, no. In Linux, you can merge PS files with:
>
> gs -dNOPAUSE -sDEVICE=pswrite -sOutputFile=out.ps file1.ps file2.ps ... -c quit
>
> regards,
> lajos
Hi,
just as a side note, that also works under Windows if you use
gswin32c -dNOPAUSE -sDEVICE=pswrite -sOutputFile=out.ps file1.ps
file2.ps ... -c quit
Cheers
Lasse Clausen
|
|
|
Re: Update PostScript [message #67235 is a reply to message #67228] |
Mon, 20 July 2009 09:54  |
Xavi Llort
Messages: 15 Registered: September 2006
|
Junior Member |
|
|
On 20 jul, 18:46, FÖLDY Lajos <fo...@rmki.kfki.hu> wrote:
> On Mon, 20 Jul 2009, Xavi Llort wrote:
>> Hi everybody!
>
>> I have an easy question... Can I open a PostScript file to include a
>> new plot in it, without erasing the current information?
>
>> For example, I create a PostScript in a given routine, and later on, I
>> want to include a new plot -in the same PS file- in an other routine.
>
>> Thank you very much!
>
> In IDL, no. In Linux, you can merge PS files with:
>
> gs -dNOPAUSE -sDEVICE=pswrite -sOutputFile=out.ps file1.ps file2.ps ... -c quit
>
> regards,
> lajos
Thank you very much for this option!
If I do not find a way of doing it inside IDL I will create both PS
files and merge later with gs.
Thanks again,
Xavi
|
|
|
Re: Update PostScript [message #67236 is a reply to message #67235] |
Mon, 20 July 2009 09:46  |
Foldy Lajos
Messages: 268 Registered: October 2001
|
Senior Member |
|
|
On Mon, 20 Jul 2009, Xavi Llort wrote:
> Hi everybody!
>
> I have an easy question... Can I open a PostScript file to include a
> new plot in it, without erasing the current information?
>
> For example, I create a PostScript in a given routine, and later on, I
> want to include a new plot -in the same PS file- in an other routine.
>
> Thank you very much!
>
In IDL, no. In Linux, you can merge PS files with:
gs -dNOPAUSE -sDEVICE=pswrite -sOutputFile=out.ps file1.ps file2.ps ... -c quit
regards,
lajos
|
|
|
Re: Update PostScript [message #67237 is a reply to message #67236] |
Mon, 20 July 2009 09:27  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Xavi Llort writes:
> I have an easy question... Can I open a PostScript file to include a
> new plot in it, without erasing the current information?
>
> For example, I create a PostScript in a given routine, and later on, I
> want to include a new plot -in the same PS file- in an other routine.
And there is an easy answer: no. :-)
Cheers,
David
--
David Fanning, Ph.D.
Coyote's Guide to IDL Programming (www.dfanning.com)
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|