[Matplotlib-users] I cannot download the matplotlib

2012-02-13 Thread love ali
Dear all, I use the mac OS X 10.6.8 and I try to install the matplotlib but I cannot run it in my computer so could you please help me? Thanks, Fadhah -- Try before you buy = See our experts in action! The most compr

[Matplotlib-users] Polygon contains_point() different from matplotlib.nxutils.points_inside_poly?

2012-02-13 Thread reckoner
I'm trying to test whether or not the origin is contained inside the following triangle inscribed inside a circle: >>> th = array([ 2.3913423, 5.3133123, 1.8516171]) >>> p=patch.Polygon(array([cos(th),sin(th)]).T) >>> p.contains_point((0,0)) returns 0 but, >>> matplotlib.nxutils.points_insi

Re: [Matplotlib-users] 2 possible bugs with make_axes_area_auto_adjustable

2012-02-13 Thread C M
I noticed what is causing one of these issues: 1) When I point-pick on the plot, the plot area still "jumps" (expands > vertically a small amount). It used to do this each time I point-picked, > but after upgrading MPL it now just does it the *first* time only. But is > it possible it can be fix

Re: [Matplotlib-users] I cannot download the matplotlib

2012-02-13 Thread Alexa Villaume
Hi Fadhah, This is the tutorial I used to install matplotlib on my computer and it was really easy to understand and follow the steps - http://www.thisisthegreenroom.com/2011/installing-python-numpy-scipy-matplotlib-and-ipython-on-lion/ If that doesn't help with your problems describe what they

Re: [Matplotlib-users] Polygon contains_point() different from matplotlib.nxutils.points_inside_poly?

2012-02-13 Thread Jerzy Karczmarczuk
Le 13/02/2012 17:47, reckoner a écrit : I'm trying to test whether or not the origin is contained inside the following triangle inscribed inside a circle: > th = array([ 2.3913423, 5.3133123, 1.8516171]) > p=patch.Polygon(array([cos(th),sin(th)]).T) What do you mean by "patch" here? I tested

Re: [Matplotlib-users] Polygon contains_point() different from matplotlib.nxutils.points_inside_poly?

2012-02-13 Thread reckoner
Here's a better example: >>> th= array([ 4.65542641, 5.32920696, 2.20928291]) >>> p=patch.Polygon(array([cos(th),sin(th)]).T) >>> print p.contains_point((0,0)) 1 >>> print matplotlib.nxutils.pnpoly(0,0,p.get_path().vertices) 0 Thanks! On 2/13/2012 8:47 AM, reckoner wrote: > I'm trying to te

Re: [Matplotlib-users] Polygon contains_point() different from matplotlib.nxutils.points_inside_poly?

2012-02-13 Thread Benjamin Root
On Mon, Feb 13, 2012 at 1:33 PM, reckoner wrote: > Here's a better example: > > >>> th= array([ 4.65542641, 5.32920696, 2.20928291]) > >>> p=patch.Polygon(array([cos(th),sin(th)]).T) > >>> print p.contains_point((0,0)) > 1 > >>> print matplotlib.nxutils.pnpoly(0,0,p.get_path().vertices) > 0 > >

[Matplotlib-users] Tricontourf with a triangulation

2012-02-13 Thread Howard
Hi all I'm using tricontourf with a triangulation object to draw a surface. For debugging purposes, I'd like to draw just the unfilled triangles. Is there a simple way to do this? Thanks Howard -- Howard Lander Senior Research Software Developer Renaissance Computi

Re: [Matplotlib-users] Tricontourf with a triangulation

2012-02-13 Thread Howard
Hmm, on further review, it looks like this is what triplot does! I'll give it a try... On 2/13/12 3:30 PM, Howard wrote: Hi all I'm using tricontourf with a triangulation object to draw a surface. For debugging purposes, I'd like to draw just the unfilled triangles. Is there a simple way t

Re: [Matplotlib-users] Polygon contains_point() different from matplotlib.nxutils.points_inside_poly?

2012-02-13 Thread Jerzy Karczmarczuk
reckoner: >>> th= array([ 4.65542641, 5.32920696, 2.20928291]) >>> p=patch.Polygon(array([cos(th),sin(th)]).T) >>> print p.contains_point((0,0)) 1 >>> print matplotlib.nxutils.pnpoly(0,0,p.get_path().vertices) 0 Thanks! I can confirm this for both the current

Re: [Matplotlib-users] Polygon contains_point() different from matplotlib.nxutils.points_inside_poly?

2012-02-13 Thread Benjamin Root
On Mon, Feb 13, 2012 at 2:59 PM, Jerzy Karczmarczuk < jerzy.karczmarc...@unicaen.fr> wrote: > > reckoner: > > >> >> >>> th= array([ 4.65542641, 5.32920696, 2.20928291]) >> >>> p=patch.Polygon(array([cos(th),sin(th)]).T) >> >>> print p.contains_point((0,0)) >> 1 >> >>> print matplotlib.nxutils.p

Re: [Matplotlib-users] I cannot download the matplotlib

2012-02-13 Thread Alexa Villaume
Hi, 1.) For terminal just go to your finder and type in "terminal" in the search bar, terminal should pop up 2.) I don't think you do, you might need to change the path variable to point to the python you have. There are instructions for that in the tutorial I linked to. 3.) I'm not sure what you'

[Matplotlib-users] matplotlib install on mac osx 10.6.8

2012-02-13 Thread Full Name
Hello, Mac OSX 10.6.8 matplotlib 1.1.0 From the matplotlib website: = Installing OSX binaries If you want to install matplotlib from one of the binary installers we build, you have two choices: a mpkg installer, which is a typical Installer.app, or a binary OSX egg, which you can insta