From: <md...@us...> - 2007-12-03 17:15:11
|
Revision: 4566 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=4566&view=rev Author: mdboom Date: 2007-12-03 09:15:06 -0800 (Mon, 03 Dec 2007) Log Message: ----------- Use non-equal dimensions for mesh to highlight bug in pcolormesh (if it ever returns). Modified Paths: -------------- branches/transforms/examples/quadmesh_demo.py Modified: branches/transforms/examples/quadmesh_demo.py =================================================================== --- branches/transforms/examples/quadmesh_demo.py 2007-12-03 17:14:20 UTC (rev 4565) +++ branches/transforms/examples/quadmesh_demo.py 2007-12-03 17:15:06 UTC (rev 4566) @@ -13,7 +13,8 @@ n = 56 x = npy.linspace(-1.5,1.5,n) -X,Y = npy.meshgrid(x,x); +y = npy.linspace(-1.5,1.5,n*2) +X,Y = npy.meshgrid(x,y); Qx = npy.cos(Y) - npy.cos(X) Qz = npy.sin(Y) + npy.sin(X) Qx = (Qx + 1.1) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |