Christopher Barker wrote: > Hi all, > > I've been messing with quiver a bit, and have some confusions:
one more issue with quiver -- autoscaling fails if there is a NaN in the data: x = (1,2) y = (1,2) u = (2,2) v = (-2,2) fig = plt.figure(1) fig.clear() ax = fig.add_subplot(2,2,3) # fails for a nan data point if auto-scaling u = (2, np.nan) props = {'units' : "dots", 'scale' : .1, 'width' : 2, 'headwidth': 2, 'headlength': 3, 'headaxislength': 4, } ax.quiver( x, y, u, v, **props ) -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R (206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception chris.bar...@noaa.gov ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users