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

Home » Public Forums » archive » using make to create plots?
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
using make to create plots? [message #25260] Fri, 01 June 2001 04:07
Stuart Colley is currently offline  Stuart Colley
Messages: 17
Registered: February 2000
Junior Member
hi,

I'm using make to create a LaTeX document that contains .eps files created
by IDL. What I'd like to do is have a suffix rule that checks to see if
the .sav file (which contains the plot I created with IDL) is newer than
the .eps that will be included in the document. If the .sav file is newer
than the .eps file then I'd like to create a new .eps from the .sav file
using a routine I wrote:

sav2ps, 'filename.sav', /eps

The question is, can IDL be used to execute just one command, such as the
one above is a suffix rule, e.g the one below:

.SUFFIXES : .eps .sav
.sav.eps :
idl sav2ps, 'filename.sav', /eps

Or would I have to create a .pro file with the relevant commands? And
could the make's $< macro be used to pass the filename - I have a feeling
it couldn't.

cheers,
S
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: IDL 5.4 and MacOS 9.1 Problem solved
Next Topic: Postscript in IDL ..

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

Current Time: Sun Oct 12 14:20:07 PDT 2025

Total time taken to generate the page: 1.76033 seconds