@@ -57,9 +57,9 @@ def eval_Plot3D(
5757 def compute_over_grid (nx , ny ):
5858 """
5959 For each function, computes an (nx*ny, 3) array of coordinates (xyzs),
60- and an (nx, ny) array of indices (inxs) into the coordinate array representing
61- the index into the coordinate orray of the corresponding position in the grid.
62- Returns an iterator over xyzs,inxs pairs, one for each function.
60+ and an (nx, ny) array of indices (inxs) into xyzs representing
61+ the index in xyzs of the corresponding position in the grid.
62+ Returns an iterator over ( xyzs,inxs) pairs, one for each function.
6363
6464 This is used for computing the full grid of quads representing the
6565 surface defined by each function, and also for computing a sparse
@@ -122,7 +122,8 @@ def compute_over_grid(nx, ny):
122122
123123 with Timer ("Mesh" ):
124124 nx , ny = plot_options .plotpoints
125- # Do nmesh lines in each direction.
125+ # Do nmesh lines in each direction, each line formed
126+ # from one row or one column of the inxs array.
126127 # Each mesh line has high res (nx or ny) so it follows
127128 # the contours of the surface.
128129 for xyzs , inxs in compute_over_grid (nx , nmesh ):
0 commit comments