## [Plplot-cvs] plplot/examples/python xw22.py,1.1,1.2

 [Plplot-cvs] plplot/examples/python xw22.py,1.1,1.2 From: Alan W. Irwin - 2004-06-26 06:54:14 ```Update of /cvsroot/plplot/plplot/examples/python In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22277 Modified Files: xw22.py Log Message: Make 22nd python example consistent with others. Index: xw22.py =================================================================== RCS file: /cvsroot/plplot/plplot/examples/python/xw22.py,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- xw22.py 21 May 2004 15:09:27 -0000 1.1 +++ xw22.py 26 Jun 2004 06:54:05 -0000 1.2 @@ -86,7 +86,7 @@ # Create data to be contoured r = 0.5+arange(nr) r.shape = (-1,1) - theta = (2.*pi/float(ntheta-1))*(0.5+arange(ntheta-1)) + theta = (2.*pi/float(ntheta-1))*(0.5+arange(ntheta)) xg = r*cos(theta) yg = r*sin(theta) @@ -140,11 +140,11 @@ pllab("(x)", "(y)", "#frPLplot Example 22 - potential gradient vector plot") # Plot contours of the potential dz = (zmax-zmin)/float(nlevel) - clevel = zmin + (arange(20)+0.5)*dz + clevel = zmin + (arange(nlevel)+0.5)*dz du = (umax-umin)/float(nlevel) - clevelu = umin + (arange(20)+0.5)*du + clevelu = umin + (arange(nlevel)+0.5)*du dv = (vmax-vmin)/float(nlevel) - clevelv = vmin + (arange(20)+0.5)*dv + clevelv = vmin + (arange(nlevel)+0.5)*dv plcol0(3) pllsty(2) ```

 [Plplot-cvs] plplot/examples/python xw22.py,1.1,1.2 From: Alan W. Irwin - 2004-06-26 06:54:14 ```Update of /cvsroot/plplot/plplot/examples/python In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22277 Modified Files: xw22.py Log Message: Make 22nd python example consistent with others. Index: xw22.py =================================================================== RCS file: /cvsroot/plplot/plplot/examples/python/xw22.py,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- xw22.py 21 May 2004 15:09:27 -0000 1.1 +++ xw22.py 26 Jun 2004 06:54:05 -0000 1.2 @@ -86,7 +86,7 @@ # Create data to be contoured r = 0.5+arange(nr) r.shape = (-1,1) - theta = (2.*pi/float(ntheta-1))*(0.5+arange(ntheta-1)) + theta = (2.*pi/float(ntheta-1))*(0.5+arange(ntheta)) xg = r*cos(theta) yg = r*sin(theta) @@ -140,11 +140,11 @@ pllab("(x)", "(y)", "#frPLplot Example 22 - potential gradient vector plot") # Plot contours of the potential dz = (zmax-zmin)/float(nlevel) - clevel = zmin + (arange(20)+0.5)*dz + clevel = zmin + (arange(nlevel)+0.5)*dz du = (umax-umin)/float(nlevel) - clevelu = umin + (arange(20)+0.5)*du + clevelu = umin + (arange(nlevel)+0.5)*du dv = (vmax-vmin)/float(nlevel) - clevelv = vmin + (arange(20)+0.5)*dv + clevelv = vmin + (arange(nlevel)+0.5)*dv plcol0(3) pllsty(2) ```