Mhm,
thank you for testing - it doesn't work here unless I scale everthing. Bug?
Linux,
numpy.__version__
'1.0.1'
matplotlib.__version__
'0.87.3'
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C -
Hello list -
I am confused about the part of numpy that pylab imports.
Apparently, pylab imports 'zeros', but not the 'zeros' from numpy, as it
returns integers by default, rather than floats.
The same holds for 'ones' and 'empty'.
Example:
from pylab import *
zeros(3)
array([0, 0, 0])
from
Hi,
a friend gave me the little example I attached.
He uses 'gca().images = []' to delete the images. I'm not sure about memory
usage of that method, but I think deleting images (using clf() or the above
way) is quite important, because otherwise one more image is drawn above the
existing
Matthias Michler [EMAIL PROTECTED] writes:
The result really surprises me (using module time):
time plot 9.7 sec
time setp 9.9 sec- slower than plot!
time .set 5.0 sec
So my question is: Is this the expected / desired behaviour?
I think it is not surprising. The setp function (and
Hi Mark,
this thread may help:
http://thread.gmane.org/gmane.comp.python.numeric.general/13399/focus=13421
Essentially, pylab uses a compatibility layer to ease the task of
supporting the three array packages - currently this uses the Numeric
version of the ones and zeros functions giving the
I have a plot where the x axis ticks are given as
0.1 0.15 0.20 0.025 0.30 0.35
with +3.732e2 given in the lower right of the axis.
How can I force the ticks to have
373.3 373.35
and so on?
Cheers
Tommy
-
[EMAIL PROTECTED] wrote:
I'm producing series of plots (spectograms) in a program loop using
imshow and saving each plot to .png. Even though I close() each plot
after each savefig(...), the memory does not appear to be freed up, and
the memory useage goes up and up as the program runs
On 4/23/07, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
I'm producing series of plots (spectograms) in a program loop using imshow
and saving each plot to .png. Even though I close() each plot after each
savefig(...), the memory does not appear to be freed up, and the memory
useage goes up
On 4/24/07, Tommy Grav [EMAIL PROTECTED] wrote:
I have a plot where the x axis ticks are given as
0.1 0.15 0.20 0.025 0.30 0.35
with +3.732e2 given in the lower right of the axis.
How can I force the ticks to have
373.3 373.35
It always helps if you give us complete examples
Gary Ruben wrote:
Hi Mark,
this thread may help:
http://thread.gmane.org/gmane.comp.python.numeric.general/13399/focus=13421
Essentially, pylab uses a compatibility layer to ease the task of
supporting the three array packages - currently this uses the Numeric
version of the ones and
OK, thanks for the
info. Is imshow currently the only array imaging routine that supports
this functionality?
Thanks again,
Yoav
Eric Firing wrote:
The
contour routine does not have update functionality similar to that of
an image; you have no choice but to generate a new ContourSet
(forgot reply-to-all)
---BeginMessage---
Yoav Avitzour wrote:
OK, thanks for the info. Is imshow currently the only array imaging
routine that supports this functionality?
You can also do it with pcolor, provided you flatten the array. This
was probably true with 0.87.7; I have verified
12 matches
Mail list logo