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)$) I

[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

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] 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

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

[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

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

2012-09-13 Thread Francesco Montesano
Hi Daniel, 2012/9/13 Daniel Welling dantwell...@gmail.com 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

Re: [Matplotlib-users] error installing basemap

2012-09-13 Thread Michael Rawlins
From: Michael Droettboom md...@stsci.edu 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),

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

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 md...@stsci.edu *To:* matplotlib-users@lists.sourceforge.net *Sent:* Thursday, September 13, 2012 2:09 PM *Subject:* Re: [Matplotlib-users] error

Re: [Matplotlib-users] error installing basemap

2012-09-13 Thread Michael Rawlins
From: Jeff Whitaker jsw...@fastmail.fm 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:

[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 jsw...@fastmail.fm 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