Re: [Matplotlib-users] matplotlib - representation of nan values in 2D

2007-09-30 Thread Dirk Zickermann
Dear all, thanks for your help. this is what I was looking for! Dirk 2007/9/26, Eric Firing [EMAIL PROTECTED]: David Huard wrote: Hi Dirk, If you haven't already done so, look at the numpy.ma http://numpy.ma/ module. It provides a masked array object that deals gracefully with

[Matplotlib-users] matplotlib - representation of nan values in 2D

2007-09-26 Thread Dirk Zickermann
Dear matplotlib group, for the represenation of 2d measurement data I use the contourplot function from matplotlib. Some points in this map are not measurabel, therefore I get a non numerical value (nan) output. From this data I want to generate a map and a histogram plot. This works fine, as

Re: [Matplotlib-users] matplotlib - representation of nan values in 2D

2007-09-26 Thread Ryan May
Dirk Zickermann wrote: Dear matplotlib group, for the represenation of 2d measurement data I use the contourplot function from matplotlib. Some points in this map are not measurabel, therefore I get a non numerical value (nan) output. From this data I want to generate a map and a

Re: [Matplotlib-users] matplotlib - representation of nan values in 2D

2007-09-26 Thread David Huard
Hi Dirk, If you haven't already done so, look at the numpy.ma module. It provides a masked array object that deals gracefully with missing values. To the best of my knowledge, most matplotlib functions understand masked arrays and deal with it accordingly, exception made of those requiring a full

Re: [Matplotlib-users] matplotlib - representation of nan values in 2D

2007-09-26 Thread Eric Firing
David Huard wrote: Hi Dirk, If you haven't already done so, look at the numpy.ma http://numpy.ma/ module. It provides a masked array object that deals gracefully with missing values. To the best of my knowledge, most matplotlib functions understand masked arrays and deal with it