From steele@skisas.usask.ca Fri Oct 06 17:16:40 1995 Path: tribune.usask.ca!decwrl!lll-winken.llnl.gov!ames!newsfeed.gsfc.nasa.gov!usenet From: Serdar Manizade Newsgroups: comp.lang.idl-pvwave Subject: Re: how would one do this in IDL? Date: 6 Oct 1995 14:49:33 GMT Organization: NASA Goddard Space Flight Center -- Greenbelt, Maryland USA Lines: 44 Message-ID: <453flt$3nd@post.gsfc.nasa.gov> References: NNTP-Posting-Host: aol3.wff.nasa.gov Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 1.1N (X11; I; SunOS 5.4 sun4c) To: gennari@news.Hawaii.Edu,manizade@osb X-URL: news:DG0762.3KM@news.hawaii.edu 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 pl ot 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 Airborne Topographic Mapper Project NASA/GSFC/Wallops Flight Facility, Wallops Island, VA