Re: [Matplotlib-users] error installing basemap

2012-09-13 Thread Michael Rawlins
From: Jeff Whitaker To: matplotlib-users@lists.sourceforge.net Cc: rawlin...@yahoo.com Sent: Thursday, September 13, 2012 9:44 PM Subject: Re: [Matplotlib-users] error installing basemap Michael:  The NetCDFFile function was deprecated a few releases

[Matplotlib-users] Problem with axvline in gridspec with log Y axis

2012-09-13 Thread Scott Lasley
I get an error when trying to use axvline in a gridspec subplot when the Y axis is set to log scale in matplotlib 1.3.x (and I think recent 1.2.x versions) from github under python 2.7.3 and OS X 10.8.1. This worked with matplotlib versions from github earlier this year. Here is a simple code

Re: [Matplotlib-users] error installing basemap

2012-09-13 Thread Michael Rawlins
From: Jeff Whitaker To: matplotlib-users@lists.sourceforge.net Cc: rawlin...@yahoo.com Sent: Thursday, September 13, 2012 9:44 PM Subject: Re: [Matplotlib-users] error installing basemap On 9/13/12 2:34 PM, Michael Rawlins wrote: > > > > >__

Re: [Matplotlib-users] error installing basemap

2012-09-13 Thread Jeff Whitaker
On 9/13/12 2:34 PM, Michael Rawlins wrote: *From:* Michael Droettboom *To:* matplotlib-users@lists.sourceforge.net *Sent:* Thursday, September 13, 2012 2:09 PM *Subject:* Re: [Matplotlib-users] error installing basemap Y

Re: [Matplotlib-users] sharex with different tick labels

2012-09-13 Thread Sterling Smith
Daniel, I found that I came across this often, so I created three functions (one for sharing x, one for y, and one for both). In looking over them right now, there may be some inconsistencies between their style, but the idea is there. I am pasting them below in case they are useful to someone

Re: [Matplotlib-users] error installing basemap

2012-09-13 Thread Michael Rawlins
From: Michael Droettboom To: matplotlib-users@lists.sourceforge.net Sent: Thursday, September 13, 2012 2:09 PM Subject: Re: [Matplotlib-users] error installing basemap You need to also install the python development package (python-dev), which contains t

Re: [Matplotlib-users] sharex with different tick labels

2012-09-13 Thread Francesco Montesano
Hi Daniel, 2012/9/13 Daniel Welling > > Greetings, all. > > I have an issue: I have several axes stacked in a column with a common time > vector on each x-axis. Each plot is a contour, so overplotting is not an > option. In a perfect world, I want the following: > 1) The subplots are tightly

[Matplotlib-users] sharex with different tick labels

2012-09-13 Thread Daniel Welling
Greetings, all. I have an issue: I have several axes stacked in a column with a common time vector on each x-axis. Each plot is a contour, so overplotting is not an option. In a perfect world, I want the following: 1) The subplots are tightly spaced such that with ax.grid() activated, the grid l

Re: [Matplotlib-users] error installing basemap

2012-09-13 Thread Michael Rawlins
From: Michael Droettboom To: matplotlib-users@lists.sourceforge.net Sent: Thursday, September 13, 2012 2:09 PM Subject: Re: [Matplotlib-users] error installing basemap You need to also install the python development package (python-dev), which contains th

Re: [Matplotlib-users] error installing basemap

2012-09-13 Thread Michael Droettboom
You need to also install the python development package (python-dev), which contains the headers. Mike On 09/13/2012 02:06 PM, Michael Rawlins wrote: Following instructions here: http://matplotlib.org/basemap/users/installing.html Got this error and termination after issuing python setup.py

[Matplotlib-users] error installing basemap

2012-09-13 Thread Michael Rawlins
Following instructions here: http://matplotlib.org/basemap/users/installing.html Got this error and termination after issuing python setup.py install from the basemap directory. src/_proj.c:4:20: fatal error: Python.h: No such file or directory compilation terminated. error: Command "gcc -pt

Re: [Matplotlib-users] Font compatibility issue with Adobe Illustrator and MPL PDF's

2012-09-13 Thread Michael Droettboom
Have you tried setting pdf.fonttype to "42", which will include the font verbatim rather than trying to subset it? That may help with illustrator. You may also have better luck importing an SVG into Illustrator. Mike On 09/13/2012 02:46 AM, florisvb wrote: > I'm trying to get my pdf outputs

[Matplotlib-users] Font compatibility issue with Adobe Illustrator and MPL PDF's

2012-09-13 Thread florisvb
I'm trying to get my pdf outputs from matplotlib to work properly in illustrator, but keep having the issue that illustrator does not recognize the computer modern fonts (eg. CMR10 etc). Everything else seems to work perfectly. I'm running matplotlib (1.1.1) in ubuntu precise, and illustrator (CS3

Re: [Matplotlib-users] linestyles in matplotlib.pyplot.plot

2012-09-13 Thread Goutam Paul
Can we use the markers as alternatives for linestyles? Consider the following in sage: Suppose I have defined f(x) for a range already, say by the following: x = np.arange(0,1,0.001) import matplotlib.pyplot as plt plt.plot(x,f(x), color='magenta', linestyle='--', linewidth=4, label="$f(x)$")

Re: [Matplotlib-users] zoomed in detail box

2012-09-13 Thread darkside
Exactly, changing (0.5, 0.5) to something like (0.6, 0.5) has no effect in my side. My python version is: 2.7.2 and matplotlib: 1.1.0 So maybe is a version problem, but it's the work computer so I can't update easily anything. I will try other computer. Thank you all for your help, Illa 2012/