Re: [Matplotlib-users] Very odd problem of installation of matplotlib/numpy on XP

2007-03-29 Thread Giorgio Luciano
No any other with the same problem :( ? - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys

Re: [Matplotlib-users] A site using matplotlib

2007-03-29 Thread Robert Leftwich
Edin Salkovic <[EMAIL PROTECTED]> wrote - > http://www.marketshares.com.au > I'm not affiliated in any way with the site owner/creator. I am, and it is extremely remiss of me not to publicly acknowledge how indebted we are to Matplotlib. In my defense and to mpl's credit, using it to generate th

Re: [Matplotlib-users] Getting data from a figure

2007-03-29 Thread brett . mcsweeney
Not sure what region[:] is supposed to achieve. You are creating a copy with the same name, so you are over-riding the original variable. Hi there I have a function where I want to display an image, get the user to zoom in on a region of interest, and then return the axes limits. But the p

[Matplotlib-users] Getting data from a figure

2007-03-29 Thread Richard Brown
Hi there I have a function where I want to display an image, get the user to zoom in on a region of interest, and then return the axes limits. But the problem is, I can only use it once, the second time it gets called in a script the figure doesn't appear. I know this is to do with show() not bei

Re: [Matplotlib-users] Scrollbars and subplots..

2007-03-29 Thread Ken McIvor
On Mar 29, 2007, at 2:49 PM, Iyer wrote: > > Thanks for your response, what I'm trying to find - is a way to > have the whole subplot stop displaying non-data related parts of > it, like when we use the back and forward arrows on the matplotlib > toolbar, the subplot goes off the boundaries a

Re: [Matplotlib-users] subplot overlay problem

2007-03-29 Thread Eric Firing
Peter Melchior wrote: > Hello, > > I understand that hold() creates a axes if there is none. > What I want to do is plotting a couple of plots in each of the subplots. > > The data I want to display is stored in a set of files, thus I have a > loop of plot calls in each subplot: > > hold(True) >

[Matplotlib-users] [Fwd: Re: pcolor with non-integer axes?]

2007-03-29 Thread Eric Firing
forgot "reply to all" --- Begin Message --- The problem is that support for 1-D x and y inputs was added to a later version of mpl than what you have. The workaround is easy: X, Y = meshgrid(x,y) pcolor(X, Y, z) Eric Park Hays wrote: Eric, Python 2.5 (precompiled binary) SciPy 0.5.2 (preco

Re: [Matplotlib-users] pcolor with non-integer axes?

2007-03-29 Thread Park Hays
Eric, Python 2.5 (precompiled binary) SciPy 0.5.2 (precompiled binary) matplotlib 0.8737 (win32-py2.5 precompiled binary) and if it matters I'm running in iPython for all this work. The script is: from scipy import * from pylab import * import matplotlib.numerix.ma as ma N = 10 y = linspac

Re: [Matplotlib-users] subplot overlay problem

2007-03-29 Thread Eric Firing
The pylab hold command sets the hold variable for the current axes. If there is none, it makes one, hence the full-size axes on which your subplots are superimposed. The hold variable determines whether subsequent calls to something like "plot" erase the axes first, or superimpose their drawi

Re: [Matplotlib-users] pcolor with non-integer axes?

2007-03-29 Thread Eric Firing
Pcolor accepts non-integer values of X and Y, so I don't know what the problem is. Please post a minimal but complete script that illustrates the error, and say what version of mpl you are using. With moderately recent versions, using masked arrays should work fine. Eric Park Hays wrote: > I

Re: [Matplotlib-users] Scrollbars and subplots..

2007-03-29 Thread Ken McIvor
On Mar 29, 2007, at 10:55 AM, Iyer wrote: > > That's unfortunate that a subplot cannot be bounded within a > scrollbar.. I guess if it could be possible to turn a subplot into > a GUI widget and have GUI widgets over another GUI widget (the > frame), that'd be good... I think that wouldn't b

[Matplotlib-users] Plotting Irregularly Spaced Data

2007-03-29 Thread Park Hays
I am sampling over the surface of a sphere. I evaluate a function at each position (like lat and lon or phi and theta)--the function I evaluate is fairly expensive. As a result I don't want to sample like: theta = linspace( -pi, pi, Ntheta) phi = linspace( 0, pi/2, Nphi) since theta will be gross

[Matplotlib-users] pcolor with non-integer axes?

2007-03-29 Thread Park Hays
I have bogus values I don't want to display in a gridded data set (regions of non-convergence, for example). pcolor does exactly what I want with a masked array, except the X and Y arguments must be integer arrays (as far as I can tell) and my data X and Y points are not integer arrays. An appro

[Matplotlib-users] subplot overlay problem

2007-03-29 Thread Peter Melchior
Hello everybody, when using this very simple script, I get three subplots which lie on top of a empty plot covering the whole area of the figure: from numpy import * from pylab import * hold(True) subplot(311) subplot(312) subplot(313) show() The result of this code can be viewed here: https://

Re: [Matplotlib-users] Scrollbars and subplots..

2007-03-29 Thread Iyer
That's unfortunate that a subplot cannot be bounded within a scrollbar.. I guess if it could be possible to turn a subplot into a GUI widget and have GUI widgets over another GUI widget (the frame), that'd be good... I was wondering how we can differentiate between data on a subplot and the b

[Matplotlib-users] Suggestion: better behaviour when saving files from GTK plot window

2007-03-29 Thread John Pye
Hi all, I'd like to suggest an improvement to the plot window when used from GTK. I'm using Matplotlib 0.87.5, so perhaps this has already been fixed, not sure. The issue is a small thing with usability when saving files of different types. I most often save my plots as EPS or PNG files but some

[Matplotlib-users] Very odd problem of installation of matplotlib/numpy on XP

2007-03-29 Thread Giorgio Luciano
I've installed in my machine in the following order python 2.5 numpy 1.01 matplot lib 0.87 scipy 0.52 wxPython 2.8 with no problem I've also installed the same packages at home and in another two computer and everything went fine. The I was asked to install this "configuaration" in some classroom

[Matplotlib-users] savefig problems

2007-03-29 Thread Dominik Szczerba
Hi, After a few trials and errors I could finally set up plots the way I wanted by modifying the matplotlibrc resource. In an essence, I want bright information (fonts,lines) on dark background (figure bg, axes bg) and I can fully achieve this goal while DISPLAYING plots. However, SAVING damages