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

Home » Public Forums » archive » Re: problems with contouring in a for loop
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: problems with contouring in a for loop [message #40843 is a reply to message #40841] Wed, 01 September 2004 19:32 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Mick Pope writes:

>
> I have this wierd problem with for loops. I have a 3D array of data and I
> want to plot 2D slices using a for loop and then contour the array. Guess
> what - it tells me that Array dimensions must be greater than 0.
>
> So I take a 2D array and substitute it for my reduced 3D array, inside the
> for loop. Same error message!!!!!
>
> What gives?

I'd guess you have an extra dimension of 1 hanging
around, but it is hard to say without seeing some code.
A "HELP, array2D" before the contour command might
help. :-)

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Hot key using in Xmanager V2.0
Next Topic: Connection Matlab-IDL

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

Current Time: Wed Dec 03 09:16:54 PST 2025

Total time taken to generate the page: 2.16578 seconds