> "Eric" == Eric Firing <[EMAIL PROTECTED]> writes:
Eric> they will not be transparent. If you need transparent
Eric> masked regions, then try pcolor instead of imshow. Pcolor
Eric> plots nothing at all in masked cells. Pcolormesh, on the
Eric> other hand, is like imshow in p
Hi Eric,
Thanks for your suggestion. The colorbar(shrink) command throws me an
error, as you said it would. But I get another error with the '0.3',
'0.5', etc. I had to replace those with (0.3,0.3,0.3) etc -- RGB tuples.
Finally, my plot only shows white, grey red. I don't get any other
colors --
Hi all,
A thought just occurred to me: I wonder if it would be useful to be able
to 'pickle' Matplotlib plots, using the python cPickle library. This
way, I could save my plots in a form that would allow me to load them
back later (with just the necessary source data) and fiddle with things
like t
John,
It sounds like you are not using the latest *released* version of mpl,
which is 0.87.3; the only thing in my example that requires svn is the
colorbar command. If you did install 0.87.3, then you must have an
earlier installation still in place and being found.
imshow requires a uniform
John Hunter wrote:
>>"Eric" == Eric Firing <[EMAIL PROTECTED]> writes:
>
> Eric> they will not be transparent. If you need transparent
> Eric> masked regions, then try pcolor instead of imshow. Pcolor
> Eric> plots nothing at all in masked cells. Pcolormesh, on the
> Eric> o
On Sun, 2006-06-18 at 00:05 +1000, John Pye wrote:
> Hi all,
>
> A thought just occurred to me: I wonder if it would be useful to be able
> to 'pickle' Matplotlib plots, using the python cPickle library. This
> way, I could save my plots in a form that would allow me to load them
> back later (wit
FWIW I found that I was able to pickle C++ objects but simply adding
python methods __reduce__ and __setstate__ in my SWIG .i file -- I'm not
sure if Matplotlib uses this approach or not. I didn't need to use
copy_reg (perhaps it's preferable? I don't know)
http://freesteam.cvs.sourceforge.net/fre