Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 

p.s., Re: Questions about Contour2D class

On Fri, 12 Dec 2003, Bill Hibbard wrote:

> >     vx1, vy1 two dimensional arrays mystify me though.  What are they?  I
> > assume it has something to
> >     do with geolocation.  Does the order go in lock step with g, per say (g,
> > x,y) when you build the arrays?
> >     That's what confuses me.  I don't understand why it's a two dimensional
> > array if that's the case.
>
> vx1 and vy1 are 2-D arrays to allow the contour() method to
> change their sizes and return the variable-sized arrays back
> to the caller. They are dimensioned float[1][numv1[0]]. Note
> numv1 is dimensioned int[1] so it can be used to return an
> int value to the caller.

vx1 and vy1 (along with the other vx and vy arrays) are used
to return the coordinates of the lines that make up contours
and labels.


 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Community Programs   Unidata is a member of the UCAR Community Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690