comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Merging Postcript files
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Merging Postcript files [message #75419] Thu, 10 March 2011 06:17 Go to next message
Fabzou is currently offline  Fabzou
Messages: 76
Registered: November 2010
Member
Hi,

Sorry if this has been asked allready. Its just that I found only
partial information on many (many) forums...

I Have two eps files of size 12cm*6cm that I would like to merge into
one file of size 12*12cm (one above the other). All the command line
tools (e.g. psmerge under linux) I've found until now are making two
pages of my two plots, and not allways very nicely.

Is it possible to do such an operation, and how to do it properly?

Thanks a lot!

Fab
Re: Merging Postcript files [message #75490 is a reply to message #75419] Fri, 11 March 2011 08:56 Go to previous message
Carsten Lechte is currently offline  Carsten Lechte
Messages: 124
Registered: August 2006
Senior Member
On 11/03/11 17:44, Fabzou wrote:
> But even with -a 0 I still have one title for the first figure ? (the
> second figure lost its title)

That should be the page title. Suppress it with -t ""


chl
Re: Merging Postcript files [message #75491 is a reply to message #75419] Fri, 11 March 2011 08:44 Go to previous message
Fabzou is currently offline  Fabzou
Messages: 76
Registered: November 2010
Member
On 03/11/2011 05:26 PM, Carsten Lechte wrote:
> On 11/03/11 13:17, Carsten Lechte wrote:
>> If anyone is interested, I can email them the program.
>
> Better yet, use this newfangled WWW thingy and get it at
>
> http://dl.dropbox.com/u/21864051/chlnplot.py
>
> The program assumes a unix-like environment and is not polished.
>
>
> chl

Nice!

But even with -a 0 I still have one title for the first figure ? (the
second figure lost its title)

Fab
Re: Merging Postcript files [message #75492 is a reply to message #75419] Fri, 11 March 2011 08:26 Go to previous message
Carsten Lechte is currently offline  Carsten Lechte
Messages: 124
Registered: August 2006
Senior Member
On 11/03/11 13:17, Carsten Lechte wrote:
> If anyone is interested, I can email them the program.

Better yet, use this newfangled WWW thingy and get it at

http://dl.dropbox.com/u/21864051/chlnplot.py

The program assumes a unix-like environment and is not polished.


chl
Re: Merging Postcript files [message #75501 is a reply to message #75419] Fri, 11 March 2011 04:31 Go to previous message
penteado is currently offline  penteado
Messages: 866
Registered: February 2018
Senior Member
Administrator
On Mar 11, 9:17 am, Carsten Lechte <c...@toppoint.de> wrote:
> If I have to combine eps plots in a more controlled manner, I use the
> free program scribus. I import the eps graphics and arrange them
> manually as I see fit. scribus should work with any IDL eps graphics,
> however, it does not (cannot) work with raster graphics embedded in
> eps. Last time I tried, not even expensive Coreldraw could do that.

I have used CorelDraw for that.
Re: Merging Postcript files [message #75502 is a reply to message #75419] Fri, 11 March 2011 04:17 Go to previous message
Carsten Lechte is currently offline  Carsten Lechte
Messages: 124
Registered: August 2006
Senior Member
On 10/03/11 15:17, Fabzou wrote:

> Is it possible to do such an operation, and how to do it properly?

I wrote a horrible python script that uses latex to put several eps
files onto one page. It leaves quite some margins around the plots, so
it might not be what you want. I use it to put tens of plots onto very
few pages to get an overview of my data. I also believe that such jobs
should be automated as much as possible. The simplest command line to
put two plots per page would look like this:

nplot.py -x 1 -y 2 file1.eps file2.eps file3.eps file4.eps

If anyone is interested, I can email them the program.

If I have to combine eps plots in a more controlled manner, I use the
free program scribus. I import the eps graphics and arrange them
manually as I see fit. scribus should work with any IDL eps graphics,
however, it does not (cannot) work with raster graphics embedded in
eps. Last time I tried, not even expensive Coreldraw could do that.


chl
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: combine subsections within xlabels
Next Topic: Re: idl libraries

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 13:53:16 PDT 2025

Total time taken to generate the page: 0.00465 seconds