Re: Animate w/ MAP_SET ? [message #1421] |
Wed, 17 November 1993 09:06  |
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
|
|
|