NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.
To learn about what's going on, see About the Archive Site.
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.
visad
archives: