[Matplotlib-users] How to remove the border around legend ?

2008-02-28 Thread darckense
Hello all, When you create a graph with a legend using legend(), is there a way to remove the black border drawn around the legend ? Thanks. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R)

Re: [Matplotlib-users] raster in basemap

2008-02-28 Thread Lionel Roubeyrie
Jeff, yes it works, the unique constraint is to put the image when we create the basemap instance. Le jeudi 28 février 2008, Jeff Whitaker a écrit : Lionel Roubeyrie wrote: Hi Jeff, yes I see this method, but set_xlim and set_ylim use axes coordinates, and I would like to use geographic

Re: [Matplotlib-users] How to remove the border around legend ?

2008-02-28 Thread yves frederix
On Thu, Feb 28, 2008 at 9:33 AM, darckense [EMAIL PROTECTED] wrote: Hello all, When you create a graph with a legend using legend(), is there a way to remove the black border drawn around the legend ? I asked the same question some time ago. The trick is setting the linewidth to zero:

[Matplotlib-users] Redraw axis

2008-02-28 Thread Jose Gomez-Dans
Hi! I have two datasets with different data coordinates, which I want to plot on different subplots, all showing the same extent. I want to be able to zoom into one of the subplots, and have the other follow (through some conversion of the former's extent). Initially, I just want one plot to

Re: [Matplotlib-users] Scatterplot problem

2008-02-28 Thread Bernhard Voigt
How do I get rid of the redundant ticks on the top and right edges? pylab.gca().get_xaxis().set_ticks_postion('bottom') same for yaxis Is there any way to stop some of my text labels from overlapping? don't know Why is there such a big gap between the plot itself and the axes ticks?

Re: [Matplotlib-users] Redraw axis

2008-02-28 Thread John Hunter
On Thu, Feb 28, 2008 at 6:55 AM, Jose Gomez-Dans [EMAIL PROTECTED] wrote: Hi! I have two datasets with different data coordinates, which I want to plot on different subplots, all showing the same extent. I want to be able to zoom into one of the subplots, and have the other follow (through

Re: [Matplotlib-users] Scatterplot problem

2008-02-28 Thread John Hunter
On Wed, Feb 27, 2008 at 12:04 PM, chombee [EMAIL PROTECTED] wrote: Is there any way to stop some of my text labels from overlapping? For the ones that are tightly clustered, you could use the annotate command to move the text farther away from the associated point. Annotate has support for

Re: [Matplotlib-users] Redraw axis

2008-02-28 Thread Jose Gomez-Dans
Hi, On Thu, Feb 28, 2008 at 1:47 PM, John Hunter [EMAIL PROTECTED] wrote: If I understand what you are trying to do, you should be using the sharex and sharey settings for ax1 Mmm, I don't think so. The extent of one image and other are in different units, so I need to transform whatever

Re: [Matplotlib-users] Masking data problems and fill test

2008-02-28 Thread Pierre GM
Michael, Give scikits.timeseries a try. It's a package designed to handle time series, with or without missing data or dates, for which matplotlib functions are also available. http://scipy.org/scipy/scikits/wiki/TimeSeries The problem you're refering to (missing dates) is trivial with this

Re: [Matplotlib-users] Scatterplot problem

2008-02-28 Thread chombee
On Thu, 2008-02-28 at 14:19 +0100, Bernhard Voigt wrote: How do I get rid of the redundant ticks on the top and right edges? pylab.gca().get_xaxis().set_ticks_postion('bottom') same for yaxis That worked, thanks! Why is there such a big gap between the plot

Re: [Matplotlib-users] Scatterplot problem

2008-02-28 Thread chombee
Okay I see what's going on now. The output from axis('tight') specifies the limits of the two axes: (-0.33718689788053952, 7.0809248554913298, -0.34782608695652173, 7.3043478260869561) As you can see it's actually setting negative minimum limits for both axes, which is why the axes are

[Matplotlib-users] locale and Qt

2008-02-28 Thread Stephane Raynaud
Hi, when I set the locale to a value (let's say 'en_US.UTF-8' different from my that of environement ('fr_FR'), it is automatically switched back to 'fr_FR.UTF-8' after the first figure is created when the backend is dervied from Qt (no problem with Agg only). Any idea how to prevent from that?

[Matplotlib-users] problem with modules

2008-02-28 Thread Davide Cellai
Hi there, Very basic questions. I have installed matplotlib by Synaptic on Ubuntu and I'm trying to get the examples work (without much success!). 1. To begin with, I've copied the lines: deb http://anakonda.altervista.org/debian packages/ deb-src http://anakonda.altervista.org/debian sources/

[Matplotlib-users] Show shapes on scatterplot legend?

2008-02-28 Thread chombee
I'm making some scatter plots which will probably end up getting printed in black and white. I'm actually drawing two scatter plots onto one axes. So to the distinguish between the two plots I've had them use different marker shapes and different shades of grey. The problem is that the legend

Re: [Matplotlib-users] problem with modules

2008-02-28 Thread Steve Schmerler
On Thu, Feb 28, 2008 at 05:40:00PM +, Davide Cellai wrote: 1. To begin with, I've copied the lines: deb http://anakonda.altervista.org/debian packages/ deb-src http://anakonda.altervista.org/debian sources/ I'm sure matplotlib is in Ubuntu's official repos by now [1]. Same for Debian.

[Matplotlib-users] Help with matpoltlib

2008-02-28 Thread olusina eric
I am a new user of Python and need to also use matplotlib but I am having some problems which I hope somebody will be able to help me with. I have two versions of Python on my laptop that runs on Windows XP. Version 2.4 installed in a folder named python 24 and I also have VisIt which has

Re: [Matplotlib-users] Help with matpoltlib

2008-02-28 Thread Stephen George
Hi Olusina, I guess you have specific reason to prefer to use python2.4 and not install matplotlib into python2.5 I also have 2 versions installed on my computer, .. only one will work directly from the command line, the first one found on the path. however whenever I want to run a test

Re: [Matplotlib-users] How to remove the border around legend ?

2008-02-28 Thread Rob Hetland
On Feb 28, 2008, at 10:23 AM, yves frederix wrote: On Thu, Feb 28, 2008 at 9:33 AM, darckense [EMAIL PROTECTED] wrote: I asked the same question some time ago. The trick is setting the linewidth to zero: from pylab import * lg = legend() lg.get_frame().set_linewidth(0) Maybe

[Matplotlib-users] 0.91.2 Binary for OS-X 10.4?

2008-02-28 Thread Christopher Barker
Hi all, I notice that matplotlib 0.91.2 has been out for a bit. Has anyone built a binary that works with OS-X 10.4, MacPython python2.5? easy_install seems to find 0.91.1, but not 0.91.2 -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/ORR

[Matplotlib-users] bug with wx toolbar

2008-02-28 Thread Jeff Peery
Hello, I just upgraded to the most recent version of matplotlib. I'm using wxagg backend for a wxapp. after upgrading my toolbar didn't work anymore and I was getting an error in the method 'zoomx' in class NavigationToolbarWx in backend_wx.py. I noticed that zoomx, zoomy, panx, and pany all

Re: [Matplotlib-users] 0.91.2 Binary for OS-X 10.4?

2008-02-28 Thread Malte Marquarding
Hi, Not that it helps you, but I have a created python2.4 egg. matplotlib-0.91.2-py2.4-macosx-10.4-fat.egg It is build against numpy-1.0.4 and with the TkAgg backend. Is there some way of contributing it to the larger community. Cheers, Malte Christopher Barker wrote: Hi all, I notice

Re: [Matplotlib-users] How to remove the border around legend ?

2008-02-28 Thread darckense
Thanks for your tip, it's work perfectly ! :-) - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/

[Matplotlib-users] preventing extra whitespace around figure

2008-02-28 Thread Michael Hearne
Does anyone know of a way of preventing the generation of extra whitespace around the edge of a figure? The code sample below demonstrates the problem I'm having - I've tried postprocessing the postscript output with ImageMagick's mogrify -trim, but unfortunately it makes it into a raster