Re: [Matplotlib-users] [matplotlib]problem

2011-02-10 Thread Paul Ivanov
Jorgos Castello, on 2011-02-10 10:59, wrote: I installed Python 2.7.1 Mac OS X 32-bit i386/PPC Installer (for Mac OS X 10.3 through 10.6 [2]) as you recommended and now it works fine. No errors anymore. THANKS !!! P.S. Thank you for MATPLOTLIB ;) Jorgos, Glad you got it sorted out, I'm

Re: [Matplotlib-users] Stair plot

2011-02-10 Thread Alejandro Weinstein
On Wed, Feb 9, 2011 at 1:23 PM, Paul Ivanov pivanov...@gmail.com wrote: no need for interpolation - just use plt.step: Thanks! Just what I need it. Any reason for the step function not appearing in the main Matplotlib page (http://matplotlib.sourceforge.net/)? Alejandro.

Re: [Matplotlib-users] onpick on a 2 y plot ( via twinx() ) seems to only allow picking of second axes's artists

2011-02-10 Thread Stephan Markus
Right now I use a customized FigureCanvasTkAgg and overwrite the draw() and resize() methods to reset the z-order of the axes before drawing / resizing the figure and to restore the desired z-order afterwards. This works quite well but it would be nice to have the picking work like in version

[Matplotlib-users] Geo projections, aspect ratio, and imshow

2011-02-10 Thread Matthew Turk
Hi there, I'm plotting some images in latitude/longitude space. These are images generated using the HEALpix method for discretizing the sphere, but I have resampled them to a regular grid of phi, theta, and the resultant image is contained in a variable img. This is a fully-self contained

Re: [Matplotlib-users] Geo projections, aspect ratio, and imshow

2011-02-10 Thread Benjamin Root
On Thu, Feb 10, 2011 at 1:38 PM, Matthew Turk matthewt...@gmail.com wrote: Hi there, I'm plotting some images in latitude/longitude space. These are images generated using the HEALpix method for discretizing the sphere, but I have resampled them to a regular grid of phi, theta, and the

Re: [Matplotlib-users] Geo projections, aspect ratio, and imshow

2011-02-10 Thread Matthew Turk
Hi Ben, On Thu, Feb 10, 2011 at 5:06 PM, Benjamin Root ben.r...@ou.edu wrote: On Thu, Feb 10, 2011 at 1:38 PM, Matthew Turk matthewt...@gmail.com wrote: Hi there, I'm plotting some images in latitude/longitude space.  These are images generated using the HEALpix method for discretizing the

Re: [Matplotlib-users] Geo projections, aspect ratio, and imshow

2011-02-10 Thread Benjamin Root
On Thu, Feb 10, 2011 at 4:13 PM, Matthew Turk matthewt...@gmail.com wrote: Hi Ben, On Thu, Feb 10, 2011 at 5:06 PM, Benjamin Root ben.r...@ou.edu wrote: On Thu, Feb 10, 2011 at 1:38 PM, Matthew Turk matthewt...@gmail.com wrote: Hi there, I'm plotting some images in

[Matplotlib-users] Legend outside plot?

2011-02-10 Thread Jeff Layton
Good evening, I've been trying to find a way to move the legend outside the plot so it doesn't cover it up. I've seen some things online but I can quite get them to work (probably just my lack of knowledge about matplotlib). The section of code creating the plot looks like, fig =

Re: [Matplotlib-users] Legend outside plot?

2011-02-10 Thread Jeff Layton
I hate to be the first one to comment on this post but I forgot to give the error message and version of matplotlib. The error is, Traceback (most recent call last): File ./multi_file_test_2.py, line 460, in module ax.legend( (p1[0], p2[0]), ('IO Time', 'Total Elapsed Time'),

Re: [Matplotlib-users] Legend outside plot?

2011-02-10 Thread Gökhan Sever
Hi, I would simply try to attach the legend to the figure object instead of the axis. On Thu, Feb 10, 2011 at 4:20 PM, Jeff Layton layto...@att.net wrote: Good evening, I've been trying to find a way to move the legend outside the plot so it doesn't cover it up. I've seen some things

[Matplotlib-users] a function to prevent overdraw of minor ticks/gridlines

2011-02-10 Thread Daniel Hyams
I've attached a small demo code that solves a problem I was having; when the grid for the major and minor ticks are both drawn, the minor grid is drawn over the top of the major grid. This can make the grid at the majors look a little messy. The same thing was happening for the ticks as well;

Re: [Matplotlib-users] Legend outside plot?

2011-02-10 Thread Paul Anton Letnes
Matplotlib is great! I created all my figures in this paper [0] using matplotlib. I am impressed with the quality you get. I attach the plotting script for fig. 9, which does exactly what you want, I believe. There is a lot of other junk in there, so look for the legend function, it all happens