Hello,
I have a problem saving png files created from data with missing values.
The matlab and pylab outputs are very different... pylab resolution is
poorer !?
the saving commands from matlab and python are similar:
matlab:
>>print -dpng -r80 test_matlab.png
python:
>>pylab.savefig('test_pyl
.30101 (r252:60911, Dec 19 2008 ...)
and the output is similar (to linux python)
http://neptuno.fis.ua.pt/tmp/test_EPD.png
Thanks for the help
mma
John Hunter wrote:
> On Tue, Jan 13, 2009 at 12:16 PM, Martinho MA wrote:
>
>> Hello,
>> I have a problem saving png files creat
Hello
I am trying to calculate the facecolors for the Axes3D.plot_surface
function, to have something similar to matlab surf 4th argument!!
Something like plot_surface(x,y,z,facecolors=calc_colors(v))
So, I need to obtain the colors corresponding to the values of v! I
created the function calc_
mm.to_rgba(var.flat) doesn't work as plot_surface facecolors, but
mm.to_rgba(var) does!
Thanks for the hint
mma
Benjamin Root wrote:
> On Fri, Sep 17, 2010 at 8:59 AM, Martinho MA <mailto:m...@ua.pt>> wrote:
>
> Hello
>
> I am trying to cal
hello, I have a problem quiver:
In my code there is:
fill(...)
quiver(..)
but the arrows stay under the fill !! If I would like it, with a bit of
logic, I would wrote:
quiver(...)
fill(...)
Any help?
By the way, how to make an extra arrow to be used as a scale, with some
text anotation?
Than
Hello,
I have a contour with a clim smaller than the limits of my data... and
because of this there is an error when I try to add a colorbar.
Can someone help?
Thanks
MMA
eg:
x=arange(20)
y=arange(30)
x,y=meshgrid(x,y)
v=sqrt(x+y) # max=6.928, min=0.0
# next is ok
figure()
contour(x,y,v)
clim(