[Matplotlib-users] error bars on scatter plot

2007-09-12 Thread Armen Nalian
Hello, I was wondering where I can get an example of a scatter plot with error bars. I have time measurements and the stds 0 23 0.23 1 25.1 0.21 4 27 0.1 7 29 0.21 9 35 0.1 how can I get a scatter plot with error bars? I know I can get a bar plot, but I need just a symbol wit

Re: [Matplotlib-users] dual y scales

2007-09-12 Thread Alan G Isaac
On Thu, 13 Sep 2007, Steve Schmerler apparently wrote: > two_scales.py in the mpl examples? Yes, that is pretty good, and much better than the approaches used in the examples behind the screen shots: http://matplotlib.sourceforge.net/screenshots.html Thanks! Alan --

Re: [Matplotlib-users] dual y scales

2007-09-12 Thread Steve Schmerler
Alan G Isaac wrote: > I need to make some dual y-scale plots: > on time series plotted against the left axis, > with a second plotted again the right axis (which has its > own scale). I think Matplotlib did not used to provide > dual scale plotting: is it now available? > You mean something lik

[Matplotlib-users] dual y scales

2007-09-12 Thread Alan G Isaac
I need to make some dual y-scale plots: on time series plotted against the left axis, with a second plotted again the right axis (which has its own scale). I think Matplotlib did not used to provide dual scale plotting: is it now available? Thank you, Alan Isaac

Re: [Matplotlib-users] Mac fonts do not display in plot

2007-09-12 Thread Yuri Bendaña
Thanks Michael! I installed fondu and converted my Helvetica.dfont to .ttf and put them in /Users/ybendana/Library/Fonts. However, the fontManager was still picking up the /System/Library/Fonts/Helvetica.dfont. As a workaround, I edited font_manager.py line 209 in findSystemFonts() to build the

Re: [Matplotlib-users] Mac fonts do not display in plot

2007-09-12 Thread Jouni K . Seppänen
"Yuri Bendaña" <[EMAIL PROTECTED]> writes: > For example, the following doesn't work: > figtext(0.8,0.3,"Large Folds", weight='bold', fontname='Helvetica') > I only get the default font (I believe it's Vera) and no bold. Yes, I think that's a known bug. The font manager doesn't know how to read

Re: [Matplotlib-users] Mac fonts do not display in plot

2007-09-12 Thread Michael Droettboom
Yuri, A .dfont file can be seen as a collection of .ttf files. A .dfont generally will contain the regular, bold and italic versions of a font, but matplotlib is hardcoded to only look at the first of them. So when you request "sans-serif", you get Helvetica. When you request "sans-serif:bo

Re: [Matplotlib-users] combine eps files into a ps file ?

2007-09-12 Thread Lingyun Yang
On 9/12/07, Jouni K. Seppänen <[EMAIL PROTECTED]> wrote: > > Martin Bures <[EMAIL PROTECTED]> > writes: > > > MATLAB has a command, print, and it allows you to output a figure to a > > file, such as a .ps file and it has a switch '-append' so that you can > > append multiple plots to the same file.

[Matplotlib-users] Mac fonts do not display in plot

2007-09-12 Thread Yuri Bendaña
Hi, I'm a new user and I installed matplotlib 0.90.1 on Mac 10.4.9. I'm using the WxAgg backend, which I installed using MacPorts. I haven't had a problem so far except when I try to change font properties like family, fontname, and weight. For example, the following doesn't work: figtext(0.8

Re: [Matplotlib-users] problem with matplotlib in script

2007-09-12 Thread massimo sandal
Christoph Scheit ha scritto: Hi, running a python-script using matplotlib I get the following error message: sh: mc: line 1: syntax error: unexpected end of file sh: error importing function definition for `mc' sh: mc: line 1: syntax error: unexpected end of file sh: error importing function de

Re: [Matplotlib-users] combine eps files into a ps file ?

2007-09-12 Thread Jouni K . Seppänen
Martin Bures <[EMAIL PROTECTED]> writes: > MATLAB has a command, print, and it allows you to output a figure to a > file, such as a .ps file and it has a switch '-append' so that you can > append multiple plots to the same file. > > Is there a switch for the pylab command, 'savefig' to do the same

Re: [Matplotlib-users] combine eps files into a ps file ?

2007-09-12 Thread Martin Bures
I recently asked a question along the same lines... MATLAB has a command, print, and it allows you to output a figure to a file, such as a .ps file and it has a switch '-append' so that you can append multiple plots to the same file. Is there a switch for the pylab command, 'savefig' to do the

[Matplotlib-users] problem with matplotlib in script

2007-09-12 Thread Christoph Scheit
Hi, running a python-script using matplotlib I get the following error message: sh: mc: line 1: syntax error: unexpected end of file sh: error importing function definition for `mc' sh: mc: line 1: syntax error: unexpected end of file sh: error importing function definition for `mc' The script s

Re: [Matplotlib-users] combine eps files into a ps file ?

2007-09-12 Thread Ryan Krauss
It is probably overkill, but I use Latex for this. You can fairly easily have Python generate a text file that is the Latex input, including captions for each figure. And then call latex using os.system. This might get you a psmerge for windows: http://gnuwin32.sourceforge.net/packages/psutils.h

Re: [Matplotlib-users] Basemap fill problem

2007-09-12 Thread Lionel Roubeyrie
Sorry, I reply to myself, the fill function needs the 'facecolor' keyword. Have a nice day -- Lionel Roubeyrie - [EMAIL PROTECTED] Chargé d'études et de maintenance LIMAIR - la Surveillance de l'Air en Limousin http://www.limair.asso.fr --

[Matplotlib-users] Basemap fill problem

2007-09-12 Thread Lionel Roubeyrie
Hi all, trying to fill some shapefiles polygons, I run into trouble like you can see here with the fillstates.py basemap 0.9.5 example: # |examples|[1]>run fillstates.py (273, 5, [-179.147341, 17.8848131, 0.0, 0.0], [179.77847, 71.35256064399980

Re: [Matplotlib-users] combine eps files into a ps file ?

2007-09-12 Thread Manuel Metz
On a Linux box: psmerge -ooutfile.ps figure1.eps figure2.eps Anyway, I guess you need an external tool to do this ... Manuel Lingyun Yang wrote: > Hi, > >I am using matplotlib to visualize my data, but the data sometimes have > several sets. > Can I plot each set as usual to a EPS file,