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

Home » Public Forums » archive » Irregular data... IDLgrContour vs. contour
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: Irregular data... IDLgrContour vs. contour [message #43193 is a reply to message #43100] Wed, 16 March 2005 12:46 Go to previous message
Mark Hadfield is currently offline  Mark Hadfield
Messages: 783
Registered: May 1995
Senior Member
jamiesmyth_uni@yahoo.ca wrote:
> Hi all,
>
> I'm a little stuck using IDLgrContour with irregular data. In direct
> graphics I would simply type:
>
> contour, zdata, xdata, ydata, /irregular, yrange=[0,60], nlevels=8
>
> where:
>
> XDATA FLOAT = Array[113]
> YDATA DOUBLE = Array[113]
> ZDATA DOUBLE = Array[113]
>
> Of course, IDLgrContour doesn't accept the /irregular keyword... must I
> grid the data myself?

Have you tried passing the irregular data to IDLgrContour without the
keyword? I expect this should work (but don't recall ever trying it
myself) because the IDLgrContour documentation states that it accepts
1-D vectors for DATA_VALUES, GEOMX and GEOMY.


> If so, can anyone point me to a good gridding
> routine?

GRIDDATA


--
Mark Hadfield "Ka puwaha te tai nei, Hoea tatou"
m.hadfield@niwa.co.nz
National Institute for Water and Atmospheric Research (NIWA)
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Get X and Y (sample,line) of an ENVI ROI
Next Topic: Widget_Table specifying Days_of_Week or Months

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

Current Time: Sat Dec 06 03:32:04 PST 2025

Total time taken to generate the page: 0.83888 seconds