Re: [Matplotlib-users] use of enthought Python for matplotlib/numpy

2007-05-11 Thread Giorgio Luciano
I would add one box of donuts, since I'm trying to make my own distribution with numpy/scipy/matplotlib but with no success. and the problem is the same is for a classroom ;) If anyone knows also a portable distribution with this package I will add extra donuts ;)

Re: [Matplotlib-users] use of enthought Python for matplotlib/numpy

2007-05-11 Thread Mark Bakker
I use Python/numpy/mpl/scipy to teach Computational methods for scientists and engineers. Yeah, a mouthfull, but that's what it is. We mainly solve problems of heat flow, groundwater flow, and diffusion-type equations in the class. Both fun analytic solutions and finite difference solutions. So

Re: [Matplotlib-users] Reusing basemap instance

2007-05-11 Thread Jesper Larsen
On Thursday 10 May 2007 17:12, Simon Kammerer wrote: I use a list for every category of items (contoursets, clabels, texts, ...), as the way to remove them is slightly different. Then I remove them from the map axes: for contourset in contoursets_to_remove: for coll in

[Matplotlib-users] using different font families with LaTeX-generated text

2007-05-11 Thread Lev Givon
Setting the font family with matplotlib.rc (or in my .matplotlib/matplotlibrc file) doesn't seem to have any effect on the font used to generate text when the usetex setting is enabled. This seems to imply that the fonts I have listed in the font.serif, font.sans-serif, and font.monospace settings

Re: [Matplotlib-users] use of enthought Python for matplotlib/numpy

2007-05-11 Thread Robert Kern
Giorgio Luciano wrote: I would add one box of donuts, since I'm trying to make my own distribution with numpy/scipy/matplotlib but with no success. and the problem is the same is for a classroom ;) If anyone knows also a portable distribution with this package I will add extra donuts ;)

[Matplotlib-users] Fwd: matplolib equivalent of gnuplot's impulse

2007-05-11 Thread Antonino Ingargiola
Fowarding to the list ... -- Forwarded message -- From: Antonino Ingargiola [EMAIL PROTECTED] Date: 4-mag-2007 11.12 Subject: Re: [Matplotlib-users] matplolib equivalent of gnuplot's impulse To: Emmanuel [EMAIL PROTECTED] Hi, On 5/3/07, Emmanuel [EMAIL PROTECTED] wrote: With

[Matplotlib-users] ylabel sub figures obtained from axes

2007-05-11 Thread Michele Mazzucco
Hi all, when using subplot is very easy to plot an ylabel for each subplot (see http://matplotlib.sourceforge.net/screenshots/subplot_demo_large.png for example), however I have not found any sample to accomplish the same goal when using sub-figures obtained as ax1 = axes(...) like

Re: [Matplotlib-users] fiitting data

2007-05-11 Thread John Hunter
On 5/9/07, darkside [EMAIL PROTECTED] wrote: Hello everyone: My question is not only about matplotlib, but I wonder if I can do what I want with some matplotlib subroutine, instead of the one for scipy. I'm new using scipy, so I'm sorry if any of my questions are silly. scipy is your best

Re: [Matplotlib-users] matplolib equivalent of gnuplot's impulse

2007-05-11 Thread John Hunter
On 5/3/07, Emmanuel [EMAIL PROTECTED] wrote: With gnuplot one can do a plot like that : http://www.deqnotes.net/gnuplot/images/impulses.png It is using option with impulse. Is there an equivalent in matplotlib? In [5]: t = arange(0.0, 2.0, 0.05) In [6]: s = sin(2*pi*t) In [7]: vlines(t,

Re: [Matplotlib-users] freetypelib problem scipy superpack matplotlib

2007-05-11 Thread Christopher Fonnesbeck
On 5/4/07, Christopher Barker [EMAIL PROTECTED] wrote: Samuel M. Smith wrote: I did not have this problem with the matplotlib on http://pythonmac.org/packages/py25-fat/dmg/matplotlib-0.90.0-py2.5-macosx10.4-2007-02-20.dmg That one was probably built with a statically linked freetype, as the

Re: [Matplotlib-users] SVG vs PNG

2007-05-11 Thread Fernando Perez
On 5/11/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Thanks everybody for the explanation of svg in Gimp. That makes sense. Is there any vector based program that does what Gimp does? Try inkscape. I've used it successfully for simple things, though I've never tried to handle a MPL SVG

Re: [Matplotlib-users] SVG vs PNG

2007-05-11 Thread kc106_2005-matplotlib
Chris, All I want is to: a) Insert all of the plots I create with MPL onto a Word document. As I said before, my version of Word does not recognize the EPS or PS format created by MPL. I am not blaiming MPL. I am just not willing to send Redmond money to see if their later version does

Re: [Matplotlib-users] SVG vs PNG

2007-05-11 Thread Alan G Isaac
On Fri, 11 May 2007, [EMAIL PROTECTED] apparently wrote: All I want is to: a) Insert all of the plots I create with MPL onto a Word document. This part should be achievable with PNG. Just set the figsize. I have not had problems... b) Be able to cut and paste part of a MPL figure and

Re: [Matplotlib-users] SVG vs PNG

2007-05-11 Thread kc106_2005-matplotlib
On Fri, 11 May 2007, [EMAIL PROTECTED] apparently wrote: All I want is to: a) Insert all of the plots I create with MPL onto a Word document. This part should be achievable with PNG. Just set the figsize. I have not had problems... Correct. I am doing that right now. However,

Re: [Matplotlib-users] SVG vs PNG

2007-05-11 Thread Andy.Henshaw
[EMAIL PROTECTED] wrote On Fri, 11 May 2007, [EMAIL PROTECTED] apparently wrote: All I want is to: a) Insert all of the plots I create with MPL onto a Word document. This part should be achievable with PNG. Just set the figsize. I have not had problems... Correct. I am doing that

Re: [Matplotlib-users] ylabel sub figures obtained from axes

2007-05-11 Thread Michele Mazzucco
John, thanks for your reply. Unfortunately it does not work for Axes (at least for me). I've got 3 axes (like the finance sample) and the ylabel appears only for the last one and only if I use ylabel(...) (yes, I'm using ax1.set_ylabel, ax2.set_yabel and ax3.set_ylabel) Any idea? Michele On

Re: [Matplotlib-users] SVG vs PNG

2007-05-11 Thread kc106_2005-matplotlib
Bingo! My prayer appears to have been answered. inkscape has no trouble reading the .svg files created by MPL, and Word has no trouble reading the .eps files created by inkscape. So, at least I can use it to preserve the vectors. Too bad inkscape doesn't read .eps directly

Re: [Matplotlib-users] SVG vs PNG

2007-05-11 Thread Christopher Barker
inkscape has no trouble reading the .svg files created by MPL, and Word has no trouble reading the .eps files created by inkscape. hmm. I wonder what it is about MPL's .eps files that Word doesn't like. Bug in MPL or Word?? -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency

Re: [Matplotlib-users] SVG vs PNG

2007-05-11 Thread kc106_2005-matplotlib
inkscape has no trouble reading the .svg files created by MPL, and Word has no trouble reading the .eps files created by inkscape. hmm. I wonder what it is about MPL's .eps files that Word doesn't like. Bug in MPL or Word?? Most likely Word. It's very picky. I have .eps files

Re: [Matplotlib-users] SVG vs PNG

2007-05-11 Thread kc106_2005-matplotlib
Actually, Gimp is the problem. It's obvious they don't have a very good rendering engine. The plots looks very good under Inkscape. The quality of the svg plot depends in large plot on the svg renderer -- perhaps word doesn't do a good job rendering SVG? The matplotlib PNG files look

[Matplotlib-users] This is just so perfect! (was: Re: SVG vs PNG)

2007-05-11 Thread kc106_2005-matplotlib
This is simply too good to be true. I played with manupulating MPL plots using Inkscape and man, somebody ought to include this in the MPL FAQ. I can move everything around by elements, touch-up or remove things I don't want, scale it, rotate it, you name it. And then I can save the file in

Re: [Matplotlib-users] SVG vs PNG

2007-05-11 Thread Fernando Perez
On 5/11/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Bingo! My prayer appears to have been answered. inkscape has no trouble reading the .svg files created by MPL, and Word has no trouble reading the .eps files created by inkscape. So, at least I can use it to preserve the vectors.

[Matplotlib-users] latex problem

2007-05-11 Thread Michele Mazzucco
Hi all, I'm running matplotlib on Mac OS X and I've set text.usetex to True in matplotlibrc, but if I try to run the tex_demo I get the error shown below. If I'm right it's a problem with dvipng: dvipng -version This is dvipng 1.6 Copyright 2002-2005 Jan-Ake Larsson dvipng 1.6 kpathsea version

Re: [Matplotlib-users] latex problem

2007-05-11 Thread Darren Dale
Is dvipng on your path? On Friday 11 May 2007 05:16:04 pm Michele Mazzucco wrote: Hi all, I'm running matplotlib on Mac OS X and I've set text.usetex to True in matplotlibrc, but if I try to run the tex_demo I get the error shown below. If I'm right it's a problem with dvipng: dvipng

Re: [Matplotlib-users] SVG vs PNG

2007-05-11 Thread Matt Newville
All I want is to: a) Insert all of the plots I create with MPL onto a Word document. If you're fortunate enough to be using the wx backend, there is a Copy_to_Clipboard() method which works great: In a wx App, Ctrl-C can easily be bound to copy the figure to the clipboard, then paste it into

Re: [Matplotlib-users] latex problem

2007-05-11 Thread Michele Mazzucco
Yes, because dvipng - version works fine. On 5/11/07, Darren Dale [EMAIL PROTECTED] wrote: Is dvipng on your path? On Friday 11 May 2007 05:16:04 pm Michele Mazzucco wrote: Hi all, I'm running matplotlib on Mac OS X and I've set text.usetex to True in matplotlibrc, but if I try to run