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

Home » Public Forums » archive » Re: Animate w/ MAP_SET ?
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
Re: Animate w/ MAP_SET ? [message #1421] Wed, 17 November 1993 09:06
manizade is currently offline  manizade
Messages: 9
Registered: October 1993
Junior Member
In article <1993Nov16.093842.1@aurora.alaska.edu>, ftacn@aurora.alaska.edu writes:
|> I'm trying to animate images that I have mapped using MAP_SET &
|> MAP_IMAGE. I'd like the GRID and CONTINENTS to show up also. Anyone
|> ever get something like this to work?
|> -Andy

I did exactly what you describe using pixmaps on a sun running
openwindows. The steps I used for each image were:
1) read the image from the data file
2) map_set,...
3) warp=map_image(img,xx,yy,...)
4) tv,warp,xx,yy
5) map_grid,/label
6) map_continents,...
7) plot other data, labels etc on plot
8) transfer the image to pixmap memory using TvRd() etc.

Once all the frames are ready, then I run a short loop to
display the frames (use: device, copy=...) while checking
the keyboard for input to freeze the animation, exit, etc.

A description of the pixmaps is in the IDL Reference Guide,
chapter on IDL Graphics Devices, under the section on the X
Windows Device.
Good Luck.

--
Serdar S. Manizade <manizade@aol3.wff.nasa.gov>
Airborne Oceanographic Lidar Project
NASA/GSFC/Wallops Flight Facility, Wallops Island, VA
Re: Animate w/ MAP_SET ? [message #1422 is a reply to message #1421] Wed, 17 November 1993 08:39 Go to previous message
paul is currently offline  paul
Messages: 22
Registered: June 1991
Junior Member
In article <1993Nov16.093842.1@aurora.alaska.edu>, ftacn@aurora.alaska.edu writes:
> I'm trying to animate images that I have mapped using MAP_SET &
> MAP_IMAGE. I'd like the GRID and CONTINENTS to show up also. Anyone
> ever get something like this to work?
> -Andy

using xinteranimate, you can animate anything that you can display
in an X window. Under the widgetlib on-line help, you can check
out xinteranimate. Basically it is like


window,/free
win_number = !d.window


xinteranimate, set=[!D.x_size,!D.y_size,Nframes]

for f=0,nframes-1 do begin


; plot the stuff you want in window perhaps like
; map_set, 0,180,/cyl,/cont
; contour, data, lat, lon, /over
;
; then
;


xinteranimate, frame=f, window=win_number

endfor

xinteranimate
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Is IDL/PVWAVE suitable as a image processing tool?
Next Topic: IDL call_external on DEC Alpha

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

Current Time: Sat Oct 11 14:01:14 PDT 2025

Total time taken to generate the page: 0.40252 seconds