Re: [Matplotlib-users] plotting masked arrays with plot_surface()

2011-09-22 Thread Benjamin Root
On Thu, Sep 22, 2011 at 2:31 PM, Andreas Matthias < andreas.matth...@gmail.com> wrote: > I would like to plot a masked array with plot_surface(). > But unlike imshow() which really plots the masked data, > plot_surface() only plots the non-masked data. > > How can I plot the masked array? > > Ciao

[Matplotlib-users] plotting masked arrays with plot_surface()

2011-09-22 Thread Andreas Matthias
I would like to plot a masked array with plot_surface(). But unlike imshow() which really plots the masked data, plot_surface() only plots the non-masked data. How can I plot the masked array? Ciao Andreas import numpy as np import pylab as mpl from mpl_toolkits.mplot3d import axes3d x = np.a