I cannot see what is wrong, but after saving each figure you should
add plt.clf() in order to delete the image and preventing memory
leaks, because MPL stores one image in top of the other.
For the filecode I suggest you to use something like:
savefig(head+str(filecode).zfill(digits)+format,
Thank you, but why the coordinates start from 2 and not from 0 with the
following code?
from pylab import *
import matplotlib.pyplot as plt
fig = plt.figure()
ax = fig.add_subplot(111)
for i in [[2,2], [2,3], [4.2,3.5]]:
print i[0],i[1]
plt.plot(i[0],i[1],'o')
ax.grid(True)
Hi,
I run Mac OS X 10.6.4 with the official Python 2.6.3 distribution. I have
already installed NumPy ver 1.4.1.
I downloaded and unzipped the matplotlib-1.0.0.tar.gz from the SourceForge site.
When I enter the command :
python setup.py install
It finally gives me the following error right at
On 8/25/10 3:53 AM, Joses Ho wrote:
Hi,
I run Mac OS X 10.6.4 with the official Python 2.6.3 distribution. I have
already installed NumPy ver 1.4.1.
I downloaded and unzipped the matplotlib-1.0.0.tar.gz from the SourceForge
site.
When I enter the command :
python setup.py install
On Tue, Aug 24, 2010 at 10:28 PM, David Pine djp...@gmail.com wrote:
I am trying to save the frames from a matplotlib animation and I have a
question that is undoubtedly based on a profound lack of understanding about
how matplotlib/python works, but I'm hoping someone can offer me an
On Wed, Aug 25, 2010 at 4:53 AM, xyz mit...@op.pl wrote:
Thank you, but why the coordinates start from 2 and not from 0 with the
following code?
from pylab import *
import matplotlib.pyplot as plt
fig = plt.figure()
ax = fig.add_subplot(111)
for i in [[2,2], [2,3], [4.2,3.5]]:
print
Friends,
1) I want to remove the rectangular box around the legend. How to do the
same. I apologize if this query had been asked before.
2) reduce the distance (vertical) between two legends in the same plot.
Thanks,
Bala
2010/8/25 Jeff Whitaker jsw...@fastmail.fm:
gcc-4.2 is the default compiler for 10.6 - I wonder if you need to
upgrade your dev tools? Xcode 3.2.2 is available for download (free
with registration) from Apple.
No, he's using Python.org Python I believe, and that was compiled with
gcc-4.0. So
Hello all,
Is there a way to tell MPL that something I plotted (like a series of
Line2D, to create a grid) should not be considered for the legend?
I'm plotting a lot of things, and because of these objects (without
label), I always got these msgs: