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

Home » Public Forums » archive » how to plot the data of a 2D array with Z values as color
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: how to plot the data of a 2D array with Z values as color [message #70215 is a reply to message #70123] Thu, 18 March 2010 13:03 Go to previous message
Gray is currently offline  Gray
Messages: 253
Registered: February 2010
Senior Member
On Mar 18, 12:33 pm, clément mayet <cma...@gmail.com> wrote:
> Hi all,
>
> I would like to plot a map from a twoD array.   My array contains Z
> values and the X,Y index corresponds to latitude/longitude. I use the
> CONTOUR procedure like this:
>
> MAP_SET,/MERCATOR, /GRID, /NOERASE, /ISOTROPIC,  LIMIT=limit
> CONTOUR, Z, lon, lat
>
> My question is : is there a simplest way to do that ( I mean directly
> associate a color to the Zvalue, without calculating the contours,
> which can be quite long  for large arrays)
>
> Thanks for your help

I'd check this out: http://www.dfanning.com/graphics_tips/coloredline.html
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: to convert pixel numbers into wavelength
Next Topic: What's Up with ITTVIS?

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

Current Time: Fri Oct 10 15:48:27 PDT 2025

Total time taken to generate the page: 0.96409 seconds