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

Home » Public Forums » archive » Re: how would one do this in IDL?
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: how would one do this in IDL? [message #5122] Fri, 06 October 1995 00:00
Serdar Manizade is currently offline  Serdar Manizade
Messages: 15
Registered: December 1994
Junior Member
A technique I used to produce some graphics might be useful to you. If
anyone has a better approach I would really like to hear it.

I had information from three sources that I wanted to combine. It so
happens that one ingredient was a map with filled continents. Here's
an abridged summary (for one data set over a map):
set_plot,'z' & device,z_buff=0,set_resolution=...
set_shading,values=[...] ; limit the number of shades used for each plot
surface,yourcoords,/nodata ; set up coords for data set #1
img1=polyshade(coords,polygons) ; render data set #1 as you like
map_set,/fill,color=1 ; make your map
img2=tvrd()
k=where(img2 EQ 1)
img1(k)= deltashade + img1(k) ; deltashade is a scalar
set_plot,'x'
loadct,0 ; or some color table with a band of continuous colors
tv,img1

There is a lot of room for improvisation here. I would like to hear about the
approach that you eventually use.

gennari@news.Hawaii.Edu (Scott Gennari) wrote:
> I would like to polyfill a global map and then overlay a
> cloud layer on top it while not masking out either data
> layer,(i.e., filled landmass with cloudcover is still visible
> with some change in color - like looking at an object through
> fog). I've searched around the IDL docs but found nill.
>
> How might I achieve this effect with IDL v4.0.1 ? Any
> suggestions would be greatly appreciated.
>
> Scott Gennari
>
> ------------------------------------------------------------ ------
> University of Hawaii voice (808) 956 5392
> Dept. of Information & Computer Sciences fax (808) 956 9399
> 2565 The Mall, Keller 304A
> Honolulu, HI 96822 email gennari@Hawaii.Edu

--
Serdar S. Manizade <serdar.manizade@gsfc.nasa.gov>
Airborne Topographic Mapper Project
NASA/GSFC/Wallops Flight Facility, Wallops Island, VA
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Widget layout in BASE to get table in IDL 4.0
Next Topic: how would one do this in IDL?

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

Current Time: Wed Oct 08 19:19:58 PDT 2025

Total time taken to generate the page: 0.00504 seconds