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

Home » Public Forums » archive » Re: multiple plots and pages to ps file
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: multiple plots and pages to ps file [message #58229 is a reply to message #58228] Wed, 23 January 2008 11:54 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
David Fanning writes:

> knielsen73@gmail.com writes:
>
>> I am trying to output a ps file with 8 plots per page and several
>> pages. However, my program only make one plot and then go to a new
>> page. My program looks something like this:
>>
>> SET_PLOT, 'ps'
>> DEVICE, /landscape,xsize=25,ysize=18,yoffset=28.5
>> LOADCT,13
>> DEVICE,/color,bits=8
>> !P.FONT=0
>> DEVICE,filename='output.ps'
>> !P.MULTI=[0,2,4]
>>
>> FOR... loop, where I open each data file...
>> Contour procedure
>> ENDFOR
>> DEVICE,/CLOSE
>
> The code that's drawing your contour plot must be doing
> something weird. There is nothing wrong with this code. :-)

I would guess your Contour procedure code has an ERASE in
it that is not being protected for PostScript. If it is
there, it should be written like this:

IF (!D.FLAGS AND 256) NE 0 THEN ERASE

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: multiple plots and pages to ps file
Next Topic: Re: Releasing memory in IDL

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

Current Time: Sat Oct 11 06:53:34 PDT 2025

Total time taken to generate the page: 7.59838 seconds