[Matplotlib-users] ginput with undefined number of points

2012-06-07 Thread David Craig
Hi, I trying to define an area in a pcolor plot (several plots) using the ginput(). However since it is an irregular shape and will be different in each plot so I cant define how many points there will be before hand, I've tried the following but it requires a double click at each point,

Re: [Matplotlib-users] ginput with undefined number of points

2012-06-07 Thread Benjamin Root
On Thu, Jun 7, 2012 at 9:07 AM, David Craig dcdavem...@gmail.com wrote: Hi, I trying to define an area in a pcolor plot (several plots) using the ginput(). However since it is an irregular shape and will be different in each plot so I cant define how many points there will be before hand,

Re: [Matplotlib-users] ginput with undefined number of points

2012-06-07 Thread Fabrice Silva
Le jeudi 07 juin 2012 à 14:07 +0100, David Craig a écrit : Hi, I trying to define an area in a pcolor plot (several plots) using the ginput(). However since it is an irregular shape and will be different in each plot so I cant define how many points there will be before hand, I've tried

Re: [Matplotlib-users] ymax

2012-06-07 Thread Tony Yu
On Thu, Jun 7, 2012 at 12:14 PM, kamel maths kamel.ma...@gmail.com wrote: Thanks for your answers. It is not very clear for me yet. This a script I tested. -- from pylab import * fig = figure() ax = fig.add_subplot(111) ax.axis('equal') x =

Re: [Matplotlib-users] ymax

2012-06-07 Thread kamel maths
Thank you very much. It works at last. Kamel 2012/6/7 Tony Yu tsy...@gmail.com On Thu, Jun 7, 2012 at 12:14 PM, kamel maths kamel.ma...@gmail.comwrote: Thanks for your answers. It is not very clear for me yet. This a script I tested. -- from

Re: [Matplotlib-users] y-axis misbehavior

2012-06-07 Thread Tony Yu
On Thu, Jun 7, 2012 at 3:44 PM, Mark Gurling magurl...@gmail.com wrote: I am on Ubuntu 11.10 matplotlib version 1.1.0 numpy version 1.5.1 I have two bar graph scripts (good.py and bad.py). Each generates a graph that contains two bars: one bar that extends along the positive y-axis and