It seems like it does not connect the last point to the first point. This
also happens with the matplotlib.patches Polygon.
from pylab import fill, xlim, ylim, savefig
x1, x2, y1, y2 = -4, 4, -4, 4
fill([x1,x2,x2,x1], [y1,y1,y2,y2], fc='None', ec='r')
xlim(-5,5)
ylim(-5,5)
savefig('edge_test')
Is there a way to get the underlying array that the fill function uses to
graph a polygon?
This is assuming that it uses an array. I would like to be able to multiple
an array by an array that describes the polygon (one if inside the polygon
and zero if outside)
--
The game of science can
Hi
I can't find any deb package of matplotlib in the url that you gave me. The
sources are there but I'm not interested in the sources since I can find
them on the official website of matplotlib.
Is there any problem ?
Thanks for the answer by the way.
Johan mazel
2008/6/3 Andrew Straw [EMAIL
Johan Mazel wrote:
Hi
I can't find any deb package of matplotlib in the url that you gave
me. The sources are there but I'm not interested in the sources since
I can find them on the official website of matplotlib.
Is there any problem ?
Thanks for the answer by the way.
Johan mazel
They
I just read your question more closely -- that you want to multiply an
array by an array that describes the polygon. Do you mean the array of
vertices that describe the polygon or something like a 2D rasterization
(image) of the polygon?
I perhaps wrongfully assumed you just wanted to do
Bryan,
Thanks for pointing this out. Mike D. has made a change in the svn
trunk to restore the automatic closing of polygons made with the
patches.Polygon constructor, which is used by the fill command.
Eric
Bryan Fodness wrote:
It seems like it does not connect the last point to the first
Is this really the current solution to building matplotlib on OSX,
installing a new compiler and hacking the python Makefile?
I was able to build matplotlib 0.91.2 just fine on OSX, sometime
around March I checked out the truck to fix a bug and discovered I
couldn't build the svn version.
The problem appears to be the -fat at the end of the file name. The
filename 'matplotlib-0.98.0-py2.5-macosx-10.3-fat.egg' _works_, but
then downloads the tarball and tries to build the source, which
_fails_ with gcc 4.0. Perhaps rename the egg and repost to
sourceforge?
This WORKS:
'make build_osx105' worked great, thank you!
Sorry I didn't see that earlier.
On Thu, Jun 5, 2008 at 6:50 PM, John Hunter [EMAIL PROTECTED] wrote:
On Thu, Jun 5, 2008 at 4:19 PM, Christopher Burns [EMAIL PROTECTED] wrote:
Is this really the current solution to building matplotlib on OSX,