Re: Frustrated by 2 Data Plotting problems [message #76322 is a reply to message #76320] |
Wed, 25 May 2011 13:36   |
Kenneth P. Bowman
Messages: 585 Registered: May 2000
|
Senior Member |
|
|
In article
<709fffde-7bcd-47db-b69c-b5a5ea4fe658@l18g2000yql.googlegroups.com>,
almost_like_a_metaphor <bronze.enigma@gmail.com> wrote:
> First: trying to figure out how to plot data and color code by
> value.
>
> I have x,y, and, z values in 3 columns (actually lons, lats, and
> intensities of a profile)
>
> In my simple minded way I wanted to plot x vs y, and set the color of
> the dot to a value for z.
If I understand correctly, what you want is PLOTS. It takes
a COLOR keyword that can be a vector with different colors
for every point. You will need to make the color vector yourself.
Setup your map with MAP_SET, then call PLOTS.
Also, with PLOTS you often need to set NOCLIP = 0. That double
negative turns on clipping, which is off by default.
If you are a beginner, you might like my book
http://idl.tamu.edu/idl/Home.html
which you can get from Amazon, among other places.
Ken Bowman
|
|
|