plc(z[, y, x][, ireg][, <keylist>])
The following keyword argument(s) apply only to this function.
levs = z_valuesThe levs keyword specifies a list of the values of z at which you want contour curves. The default is eight contours spanning the range of z.
triangle = triangle
Set the triangulation array for a contour plot. triangle must be the same shape as the ireg (region number) array, and the correspondence between mesh zones and indices is the same as for ireg. The triangulation array is used to resolve the ambiguity in saddle zones, in which the function z being contoured has two diagonally opposite corners high, and the other two corners low. The triangulation array element for a zone is 0 if the algorithm is to choose a triangulation, based on the curvature of the first contour to enter the zone. If zone (i, j) is to be triangulated from point (i-1, j-1) to point (i, j), then triangle(i, j)= 1, while if it is to be triangulated from (i-1, j) to (i, j-1), then triangle(i, j)=-1. Contours will never cross this ``triangulation line''.
You should rarely need to fiddle with the triangulation array; it is a hedge for dealing with pathological cases.
The following additional keyword arguments can be specified with this function. legend, hide, type, width, color, smooth, marks, marker, mspace, mphase, region
See ``Plot Function Keywords'' on page
for detailed descriptions of these keywords.
fma()
def mag(* args):
r = 0
for i in range(len(args)):
r = r + args[i]* args[i]
return sqrt(r)
plm(region= 1, boundary= 1)
plc (mag(x+. 5, y-. 5), marks= 1, region= 1)
plm(inhibit= 3, boundary= 1, region= 1)
plm(boundary= 1, region= 1)