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

Home » Public Forums » archive » Re: Contour dimension problem
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: Contour dimension problem [message #78433 is a reply to message #78432] Fri, 25 November 2011 08:02 Go to previous message
Kenneth P. Bowman is currently offline  Kenneth P. Bowman
Messages: 585
Registered: May 2000
Senior Member
In article <cca14042-fbbd-40da-a693-70828da8c455@s17g2000pra.googlegroups.com>,
Mat <mga1@waikato.ac.nz> wrote:

> I'm trying to create a contour plot of temperature, depth and time.
> Right now I have the temperature at 13 depths and 30169 date/times as
> "temp" FLOAT [13, 30169], "depths" Int[13], and "time" FLOAT[30169].
>
> I don't have my dimensions right for the following command:
>
> IDL> contour, temp, time, depths
> % CONTOUR: Array must have 2 dimensions: TEMP.
> % Execution halted at: $MAIN$
>
> Does anyone know the command to contour this data with one degree
> contours?
>
> Thanks for your help

Try

HELP, temp, time, depths

If temp = temp(depth, time)

Then you should call

CONTOUR, temp, depth, time

I hope your data is very smooth in the time dimension.

Ken Bowman
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: IDL tools
Next Topic: Writing arrays to text file - format code trickery?

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

Current Time: Wed Oct 08 15:21:25 PDT 2025

Total time taken to generate the page: 0.00360 seconds