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

Home » Public Forums » archive » problems printing to a postscript 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
problems printing to a postscript file [message #38835] Wed, 31 March 2004 14:41
chettri is currently offline  chettri
Messages: 1
Registered: March 2004
Junior Member
Here's my IDL Question:

For this question I am sending you a piece of code I wrote

for j = 0, (ntrials - 1L) do begin

light_file_name = string(j, format='("GullLighthouse0", i1, ".eps")')
print, light_file_name
set_plot, 'ps'
device, filename=light_file_name
contour, exp(posterior[j,*,*]), xarray, yarray, nlevels=7
device, /close_file
set_plot, 'win'

endfor ; j loop for printing to postscript

In the code I'm trying to create "ntrials" number of files each one containing
a single contour plot. "posterior[*,*,*]" is created earlier in the program
and using "!p.multi" I was able to plot "posterior[j,*.*]" to a single
graphic window as a contour plot for each "j." However, when I run the
above code, "ntrials-1" eps files are created, "GullLighthouse0*.eps" with the
x and y axes drawn but with no contours. The last file interestingly enough
has the contours and the x, y axes. I'm uncertain as to what I'm doing wrong.

Any help will be appreciated.
[Message index]
 
Read Message
Previous Topic: using TVRD(true=0) with a 24-bit image and decomposed=0
Next Topic: Re: Student Edition Splash Screen

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

Current Time: Fri Oct 10 13:25:55 PDT 2025

Total time taken to generate the page: 0.80276 seconds