[Matplotlib-users] Strange default choice of ylabel ticks

2012-01-18 Thread Per Nielsen
Hi all I get a rather strange scaling / choice of y-axis ticks for the following script: import pylab as pl some_points = [0.94589396231920286, 0.94593953605915637, 0.94601787712257401, 0.94597530431819743, 0.9459922123931529, 0.94622433138703055] pl.plot(some_points, '.-')

Re: [Matplotlib-users] Strange default choice of ylabel ticks

2012-01-18 Thread Yann Tambouret
Hi Per, I think you want to use the 'ticklabel_format' method: http://matplotlib.sourceforge.net/api/pyplot_api.html#matplotlib.pyplot.ticklabel_format Here's your example modified some. 'some_point2A.pdf' produces exactly the same as the default. 'some_point2B.pdf' does not use an offset, and

Re: [Matplotlib-users] placing colorbar when using subplot command

2012-01-18 Thread Michael Rawlins
From: Benjamin Root ben.r...@ou.edu To: Michael Rawlins rawlin...@yahoo.com Cc: matplotlib-users@lists.sourceforge.net matplotlib-users@lists.sourceforge.net Sent: Tuesday, January 17, 2012 2:02 PM Subject: Re: [Matplotlib-users] placing colorbar when using

[Matplotlib-users] How to use colorbar in subplot

2012-01-18 Thread davcra
Hi, I need to add a colorbar to each plot in a subplot but cant seem to get it to work. My code is as follows, # Plot time series of slowness, baz, abs.power and rel.power labels = 'rel.power abs.power baz slow'.split() fig = plt.figure() for i, lab in enumerate(labels): ax =

[Matplotlib-users] Animation example error on Mac after installation

2012-01-18 Thread Nathan Salomonis
Greetings, I just installed matplotlib on my Mac OS 10.6 Machine (64bit) with default Python 2.7.1 (easy_install). While the initial 2D graph examples work great, when testing any of the animations, such as: http://matplotlib.sourceforge.net/examples/animation/simple_anim.html I always get the

[Matplotlib-users] Broken links

2012-01-18 Thread Matthew Lennig
I have found several broken links on the matplotlib documentation pages. The broken links I've found occur when I click on an example to see the source code. Here's one of them: http://matplotlib.sourceforge.net/examples/pylab_examples/demo_tight_layout_00.html The above link generates a 404

Re: [Matplotlib-users] Round plot with 'npstere'-projection

2012-01-18 Thread Serhiy Hrechanyy
Yes, they all make squares. Why is it so important the plot be round? Well, it is definitely not a matter of life or death. Just think that round polar plots look a bit nicer. I haven't tried your workaround solution yet (must do something urgent first). But thanks a lot for your help and of

[Matplotlib-users] macosx lion installation challenges

2012-01-18 Thread Andrew
Hi Hi, I am having troubles getting matplotlib to install. I have mac os X lion with Xcode 4.2.1 installed and I have used git to get the latest version of matplotlib. I am also running python 2.7.2 from the python.org site. The installation process was going fine based on the make.osx

Re: [Matplotlib-users] basemap install problem for 64-Bit/x86_64 on os-x

2012-01-18 Thread drcoopa
Looking at the install of basemap closely I noticed some errors that make me wonder whether the geos libraries need to be compiled as 64- bit to work? Mike: Yes, I suspect that is the problem. Unfortunately, I've no idea how to fix that. Even if you get beyond that though - I

[Matplotlib-users] Matplotlib on Mac 64 bit.

2012-01-18 Thread Yoshiki Vázquez Baeza
Hello Matplotlib group, I'm currently working with Matplotlib and with python 2.7.1 (from python.org) and I realized that the version of matplotlib that I downloaded has no x86 architecture support. This is what the installation looks like: bash-3.2$ otool -L

[Matplotlib-users] legend not draggable when secondary y-axis present

2012-01-18 Thread German Salazar
Any ideas? Also, as in the example herehttp://matplotlib.sourceforge.net/examples/pylab_examples/multiple_yaxis_with_spines.html, the legend seems to be behind the quantity being plotted against the one of the secondary y-axisdoes this have anything to do with that?...it is that maybe the

[Matplotlib-users] legend not draggable when secondary y-axis present

2012-01-18 Thread gsal
Any ideas? Also, as in the example http://matplotlib.sourceforge.net/examples/pylab_examples/multiple_yaxis_with_spines.html here , the legend seems to be behind the quantity being plotted against the one of the secondary y-axisdoes this have anything to do with that?...it is that maybe the

[Matplotlib-users] Installation of matplotlib 2.7 issue

2012-01-18 Thread Mac Juneau
Problem: Installation of matlibplot for Python 2.7's .exe file requires that Numby be installed first. But the Numby installation list does not include a version for Python 2.7. The highest available version is for Python 2.6. So, Numby 2.6 won't install because it can't find a Python 2.6 and

[Matplotlib-users] Grid problem?

2012-01-18 Thread David Perlman
When I try to turn on the grid for just one axis, seemingly in perfect accordance with the documentation at http://matplotlib.sourceforge.net/api/axes_api.html#matplotlib.axes.Axes.grid it seems like there is a problem. My commands are pasted below. Am I doing this wrong? I am doing the best

[Matplotlib-users] Tkinter Scaling Problems

2012-01-18 Thread Karthik Krishnamoorthi
Hi, I'm trying to embed a Matplotlib graph along with the toolbar in my Tkinter application. The problem I'm facing is that when I maximize the application, the plot only fills the top half of the screen and the bottom half is taken up by the toolbar with a lot of whitespace. I based my code on

Re: [Matplotlib-users] Installation of matplotlib 2.7 issue

2012-01-18 Thread Eric Firing
On 01/17/2012 03:04 PM, Mac Juneau wrote: Problem: Installation of matlibplot for Python 2.7's .exe file requires that Numby be installed first. But the Numby installation list does not include a version for Python 2.7. The highest available version is for Python 2.6. So, Numby 2.6 won't

Re: [Matplotlib-users] Broken links

2012-01-18 Thread Benjamin Root
On Tue, Jan 17, 2012 at 10:54 AM, Matthew Lennig m...@inforsch.com wrote: I have found several broken links on the matplotlib documentation pages. The broken links I've found occur when I click on an example to see the source code. Here's one of them:

Re: [Matplotlib-users] Installation of matplotlib 2.7 issue

2012-01-18 Thread Christoph Gohlke
On 1/17/2012 5:04 PM, Mac Juneau wrote: Problem: Installation of matlibplot for Python 2.7's .exe file requires that Numby be installed first. But the Numby installation list does not include a version for Python 2.7. The highest available version is for Python 2.6. So, Numby 2.6 won't

Re: [Matplotlib-users] Animation example error on Mac after installation

2012-01-18 Thread Benjamin Root
On Sun, Jan 15, 2012 at 1:14 AM, Nathan Salomonis nsalomo...@gmail.comwrote: Greetings, I just installed matplotlib on my Mac OS 10.6 Machine (64bit) with default Python 2.7.1 (easy_install). While the initial 2D graph examples work great, when testing any of the animations, such as:

Re: [Matplotlib-users] macosx lion installation challenges

2012-01-18 Thread Hans-Martin v. Gaudecker
I fought some time with NumPy, SciPy, and Matplotlib under the same configuration -- in the end I settled for re-installing Python via homebrew. Everything worked like a charme out of the box. Nice guide to be found here:

Re: [Matplotlib-users] macosx lion installation challenges

2012-01-18 Thread Jeff Whitaker
On 1/18/12 1:10 PM, Hans-Martin v. Gaudecker wrote: I fought some time with NumPy, SciPy, and Matplotlib under the same configuration -- in the end I settled for re-installing Python via homebrew. Everything worked like a charme out of the box. Nice guide to be found here:

Re: [Matplotlib-users] Grid problem?

2012-01-18 Thread Paul Ivanov
Hi David, David Perlman, on 2012-01-06 16:57, wrote: Am I doing this wrong? I am doing the best I can to follow the documentation exactly. It doesn't look like you're doing it wrong - and your example works for me, though I'm not running OS X and can't verify that it works as it should on