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

Home » Public Forums » archive » Overlaying continent outlines over cgimage?
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
Overlaying continent outlines over cgimage? [message #83467] Mon, 04 March 2013 15:30
Lisa08 is currently offline  Lisa08
Messages: 4
Registered: February 2013
Junior Member
Hi everyone,


I am pretty new to mapping in IDL and have not been able to plot continent outlines (or a transparent image of the continents) over an image of data. It always gets overwritten. I have a mask of cloud data of size:

cloud_mask=Byte[3000,1800]

where the values of the variable are 0 and 1 (0=no cloud , 1=cloud was detected).


I want to plot this mask of data and then overlay continent outlines over it. So far, what I have tried to plot the variable is:

cgimage, cloud_mask ;which plots the image of data

Then, I thought I could use something like this to plot continents over it:
cgMap_Set, /Mercator
cgMap_Continents, /Coasts, Color='white'

However, since the cgimage command has an overplot keyword I tried to do it backwards (plot the continents first and then overlay the cloud_mask data over it) but it always gets overwritten.

Is this possible or is there something better than cgimage to try to do what I want? Any suggestions on how I can try to do this?

Any help would be greatly appreciated!

Thanks.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Nan represented by a gray area
Next Topic: Re: Overlaying continent outlines over cgimage?

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

Current Time: Wed Oct 08 17:03:37 PDT 2025

Total time taken to generate the page: 0.00538 seconds