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

Home » Public Forums » archive » Re: Contour a few number of data
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: Contour a few number of data [message #66628] Mon, 01 June 2009 05:38
Allan Whiteford is currently offline  Allan Whiteford
Messages: 117
Registered: June 2006
Senior Member
d.poreh@gmail.com wrote:
> Folks
> I have a problem with contouring this kind of data:
> 49 31 1,67
> 49 33 1,56
> 51 29 1,6
> 51 31 1,74
> 51 33 1,65
> 53 27 1,43
> 53 29 1,72
> 53 31 1,64
> 55 27 1,59
> 55 29 1,67
> 57 27 1,61
> 57 29 1,56
> x and y are Coordinates and z is an attribute that i want to show
> this attribute changes with these cocrdinates (Contour plot). i dont
> know how to do this in IDL.
> Any help?
> Cheers

Hi,

Maybe start with:

x=[49,49,51,51,51,53,53,53,55,55,57,57]

y=[31,33,29,31,33,27,29,31,27,29,27,29]

z=[1.67,1.56,1.6,1.74,1.65,1.43,1.72,1.64,1.59,1.67,1.61,1.5 6]

contour,z,x,y,/irr

and then read:

http://www.dfanning.com/documents/tips.html#CONTOURPLOTTIPS

Thanks,

Allan
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Contour a few number of data
Next Topic: changing the pixel values in raster

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

Current Time: Wed Oct 08 17:44:48 PDT 2025

Total time taken to generate the page: 0.00509 seconds