I guess you want this.
http://docs.scipy.org/doc/numpy/reference/generated/numpy.ma.filled.html#numpy.ma.filled
-JJ
On Sat, Apr 11, 2009 at 3:36 PM, antonv wrote:
>
> Hi all,
>
> Another noob question here. I have a large masked array that I am plotting
> with "contourf" and because of the mas
You can change the position of the subplot using "change_geometry"
method, although it does not accept a sting argument.
s1.change_geometry(2,1,1) # instead of "211"
-JJ
On Sat, Apr 11, 2009 at 4:59 PM, TP wrote:
> Hi everybody,
>
> I would like to update a subplot position automatically.
Hi everybody,
I would like to update a subplot position automatically. Try this example:
##
from pylab import *
f = figure()
s1 = f.add_subplot( '111' )
s1.plot( [5,7], [6,9], 'r' )
s2 = f.add_subplot( '212' )
s2.plot( [5,7], [4,9], 'b' )
show()
##
The problem is
Hi all,
Another noob question here. I have a large masked array that I am plotting
with "contourf" and because of the masked array i am getting jagged edges.
If i could replace the masked data with a value that I supply then it will
interpolate and give me the nice feathered edges that I need.