plot of 2D array without masked values?

Hi,

I'm plotting 2D-ndarrays with pylab.pcolor(). The data contain masked
values and it can happen that entire rows or columns hold only masked
values. Is there a build-in way to omitted such rows/columns? Currently
I'm removing the labels in x and y and the row/columns by hand.

TIA
Christian

Hi,

I'm plotting 2D-ndarrays with pylab.pcolor(). The data contain masked
values and it can happen that entire rows or columns hold only masked
values. Is there a build-in way to omitted such rows/columns? Currently
I'm removing the labels in x and y and the row/columns by hand.

It is not clear what you're trying to do here. Masked values are not
plotted by default. You want tick labels not shown for those
row/column? There is no such built-in functionality. But you can
easily check if the row/column is empty for the given tick location
and then make the associated ticklabel invisible.

-JJ

ยทยทยท

On Mon, Sep 21, 2009 at 10:32 AM, Christian Meesters <meesters@...2757...> wrote:

TIA
Christian

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
matplotlib-users List Signup and Options