Re: [Matplotlib-users] Fetching a data slab with NetCDFFile

2009-09-10 Thread Jeff Whitaker
Arthur M. Greene wrote: Just to add a little info: I've been poking around various OPeNDAP servers looking for files to try and open (and read), and have had a little success, so the module does seem to work, if not all the time for my purposes. At the moment I'm on a 64-bit machine

[Matplotlib-users] installing matplotlib 0.99 for pyhton 2.6 mac osx 10.5

2009-09-10 Thread Farhan Sheikh
Dear all, i have python 2.6 running on my mac osx 10.5, however when installing the binary file provided, it says i need to have python 2.6 on my machine. i dont understand why this is happening as when open a new terminal and type 'python', python version 2.6.2 is the version that is

[Matplotlib-users] segfault on plot

2009-09-10 Thread Dave
I upgraded my numpy to 1.4.0.dev7375 and scipy to 0.8.0.dev5920. After doing so I get a segfault upon calling the plot command (see below) I guess I need to compile from source but I'm not sure exactly how to do so - are there any good step-by-step instructions out there? Thanks, Dave Python

[Matplotlib-users] Can matplotlib generate charts like this?

2009-09-10 Thread Erik Wickstrom
Hi all, Can matplotlib (or any other Python charting library) generate charts like this: (also attached if you prefer) http://imagebin.ca/view/iGhEQEE.html It's basically a moving average with the vertical lines being the difference between the average and the actual data point. Can anyone

Re: [Matplotlib-users] creating mesh data from xyz data

2009-09-10 Thread Matthias Michler
Hi Giuseppe, As far as I understand you are looking for numpy.meshgrid, e.g. # grid in x- direction x = np.linspace(0, 1, 10) # grid in y-direction y = np.arange(5) # generate 2D-vectors out of x and y x, y = np.meshgrid(x, y) print np.shape(x) print np.shape(y) Furthermore you have to

Re: [Matplotlib-users] Can matplotlib generate charts like this?

2009-09-10 Thread Armin Moser
Erik Wickstrom schrieb: Hi all, Can matplotlib (or any other Python charting library) generate charts like this: (also attached if you prefer) Here is a demo-script. The second way is inspired by matlab. Can this be done more easily in python? Can X and Y be built more elegantly with numpy?

Re: [Matplotlib-users] mpl 0.99 and py2exe

2009-09-10 Thread Werner F. Bruhin
Jouni K. Seppänen wrote: Werner F. Bruhin werner.bru...@free.fr writes: I think this has been fixed on the trunk for good, by changing all docstring modifications to use decorators (defined in docstring.py) that check for nonexistent docstrings. The changes are perhaps too big to apply

Re: [Matplotlib-users] Can matplotlib generate charts like this?

2009-09-10 Thread jason-sage
Erik Wickstrom wrote: Hi all, Can matplotlib (or any other Python charting library) generate charts like this: (also attached if you prefer) http://imagebin.ca/view/iGhEQEE.html It's basically a moving average with the vertical lines being the difference between the average and the actual

Re: [Matplotlib-users] installing matplotlib 0.99 for pyhton 2.6 mac osx 10.5

2009-09-10 Thread Christopher Barker
Farhan Sheikh wrote: i have python 2.6 running on my mac osx 10.5, however when installing the binary file provided, it says i need to have python 2.6 on my machine. i dont understand why this is happening as when open a new terminal and type 'python', python version 2.6.2 is the version

Re: [Matplotlib-users] installing matplotlib 0.99 for pyhton 2.6 mac osx 10.5

2009-09-10 Thread Christopher Barker
Farhan Sheikh wrote: when i installed python 2.6, i installed it into the /usr/local/lib folder maybe I wasn't clear -- the MPL installer it meant to be used with the binary from python.org. You want use the installer you get here: http://www.python.org/download/ python -c import sys;

[Matplotlib-users] Distorting X-axis on a barchart

2009-09-10 Thread Gökhan Sever
Hello, I have a simple bar-chart seen at http://img40.imageshack.us/img40/4889/barchart.png What is the way to plot each bar equally spaced apart from eachother? Any simple way without defining custom ticks or manipulating the data? Homework season has just started here. Lots of matplotting to

Re: [Matplotlib-users] segfault on plot

2009-09-10 Thread Eric Firing
Dave wrote: I upgraded my numpy to 1.4.0.dev7375 and scipy to 0.8.0.dev5920. After doing so I get a segfault upon calling the plot command (see below) I guess I need to compile from source but I'm not sure exactly how to do so - are there any good step-by-step instructions out there?

Re: [Matplotlib-users] Can matplotlib generate charts like this?

2009-09-10 Thread Eric Firing
Erik Wickstrom wrote: Hi all, Can matplotlib (or any other Python charting library) generate charts like this: (also attached if you prefer) http://imagebin.ca/view/iGhEQEE.html It's basically a moving average with the vertical lines being the difference between the average and the

Re: [Matplotlib-users] Distorting X-axis on a barchart

2009-09-10 Thread Gökhan Sever
On Thu, Sep 10, 2009 at 2:29 PM, Gökhan Sever gokhanse...@gmail.com wrote: Hello, I have a simple bar-chart seen at http://img40.imageshack.us/img40/4889/barchart.png What is the way to plot each bar equally spaced apart from eachother? Any simple way without defining custom ticks or

[Matplotlib-users] logarithmic colormaps for imshow

2009-09-10 Thread John [H2O]
In mpl_toolkits.basemap there is a module cm. I have been using the cm.s3pcpn colormap for some plots which require logarithmic coloring. The cm.s3pcpn_l colormap is also available (apparently a linear version). I wanted to know whether there were any other logarithmic colormaps available...

Re: [Matplotlib-users] logarithmic colormaps for imshow

2009-09-10 Thread Eric Firing
John [H2O] wrote: In mpl_toolkits.basemap there is a module cm. I have been using the cm.s3pcpn colormap for some plots which require logarithmic coloring. The cm.s3pcpn_l colormap is also available (apparently a linear version). I wanted to know whether there were any other logarithmic

[Matplotlib-users] Customizing yticks while log-scaled

2009-09-10 Thread Gökhan Sever
Hello, A new plot and two questions: http://img16.imageshack.us/img16/1759/logbarchart.png 1-) How to get nicely formatted yticks while will represent my data range (in Ax10^5 fashion 10^x works perfect as a defaul however couldn't figure out how to do this with number times 10^x)? An