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

Home » Public Forums » archive » Creating a GIF file from a graphics window in IDL
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: Creating a GIF file from a graphics window in IDL [message #20512 is a reply to message #20399] Wed, 28 June 2000 00:00 Go to previous messageGo to previous message
Paul van Delst is currently offline  Paul van Delst
Messages: 364
Registered: March 1997
Senior Member
"Daniel, Susan y Familia" wrote:
>
> I am also looking to solve that problem for the case of multiple X
> windows. WRITE_JPG only saves one window's graph.


You should just have to "wset" to the window whose display you want to
save....you'll have to keep track of the window id's of course:

n_windows = 4
for i = 0, n_windows - 1 do begin
window, /free
if ( i eq 0 ) then $
window_id = !d.window $
else $
window_id = [ window_id, !d.window ]
endfor

and then plot/image stuf in them you can output them all in turn

for i = 0, n_windows - 1 do begin
wset, window_id[ i ]
write_jpeg, .....etc.
endfor

Of course the above is only an (poor) example.

Liam Gumley's website (http://cimss.ssec.wisc.edu/~gumley) contains IDL
info and a neato bunch of utilities to save your window to a GIF, JPEG,
etc file. I believe the utility is called saveimage.pro or something
like that. Takes the guesswork out of doing that sort of stuff.
Unfortunately the UW-Madison/SSEC server seems to be down or having
problems.

paulv
--
Paul van Delst Ph: (301) 763-8000 x7274
CIMSS @ NOAA/NCEP Fax: (301) 763-8545
Rm.202, 5200 Auth Rd. Email: pvandelst@ncep.noaa.gov
Camp Springs MD 20746
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: problem with IDL statistics
Next Topic: Sort and Where

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

Current Time: Wed Oct 08 18:52:11 PDT 2025

Total time taken to generate the page: 0.00490 seconds