[Matplotlib-users] Curve fitting ...

2008-02-11 Thread sa6113
Hello there, I have a problem on curve fitting , would you please help me ?! I want to to develop a application that reads a text file with 2 columns of floating point data (as x and y) and performs a polynomial curve fit of the data at the order specified by the end user and then provides the

Re: [Matplotlib-users] Create powerpoint slide and/or presentation from script?

2008-02-11 Thread Ted Drain
Thanks! Is econpy still under development? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alan G Isaac Sent: Monday, February 11, 2008 10:00 AM To: matplotlib-users@lists.sourceforge.net Subject: Re: [Matplotlib-users] Create powerpoint slide

Re: [Matplotlib-users] Create powerpoint slide and/or presentation from script?

2008-02-11 Thread Alan G Isaac
On Mon, 11 Feb 2008, Ted Drain apparently wrote: Is econpy still under development? Yes. Primarily during summers. ;-) New developers and other contributors are welcome. Cheers, Alan Isaac - This SF.net email is

Re: [Matplotlib-users] font

2008-02-11 Thread chuckwhite8
Mike -- thanks for your response. I thought I had tried this and it didn't work. I guess I didn't I just tried the following equivalent approach: ML.rcParams['font.family'] = 'serif' ML.rcParams['font.serif'] = ['Cambria Math'] + ML.rcParams['font.serif'] and it worked like a charm.

Re: [Matplotlib-users] Create powerpoint slide and/or prese ntation from script?

2008-02-11 Thread Alan G Isaac
On Mon, 11 Feb 2008, Ted Drain apparently wrote: Does anyone know of a way to create a powerpoint slide from a plot? URL:http://code.google.com/p/econpy/source/browse/trunk/utilities/mso.py hth, Alan Isaac - This

[Matplotlib-users] Create powerpoint slide and/or presentation from script?

2008-02-11 Thread Ted Drain
Does anyone know of a way to create a powerpoint slide from a plot? I'm assuming that it's possible to have a script that savse a PNG of the plot and then use a VB (or preferably python) script to create a slide (or append that slide to an existing presentation). I've google'ed around but I'm

Re: [Matplotlib-users] How to get current value of xlim/ylim?

2008-02-11 Thread Jouni K . Seppänen
Slackenerny [EMAIL PROTECTED] writes: graph = f.add_subplot(...) I could help myself with graph.get_xlim() So, how could I have helped myself, without annoying you? ;) The commands getp(graph) and setp(graph) might have helped. -- Jouni K. Seppänen http://www.iki.fi/jks

Re: [Matplotlib-users] aspect_ratio in combination with sharex

2008-02-11 Thread Mark Bakker
On Feb 11, 2008 2:35 PM, Michael Droettboom [EMAIL PROTECTED] wrote: Before I look into this further: what version of mpl are you using? I am using 0.91.2 using the win32 installer for Python 2.4. Thanks for looking into this, Mark

Re: [Matplotlib-users] How to get current value of xlim/ylim?

2008-02-11 Thread Mark Bakker
Hello Heiko - dir(graph) would at least have given you a list of the functions and attributes, so you may have been able to spot the get_xlim function. I use that a lot, Mark -- Date: Mon, 11 Feb 2008 14:14:03 +0100 From: Slackenerny [EMAIL PROTECTED] Subject:

Re: [Matplotlib-users] font

2008-02-11 Thread Michael Droettboom
You shouldn't edit rcsetup.py directly -- that is part of the matplotlib source code. Instead, you should edit the matplotlibrc settings file. In there, you'll actually want to change two settings: 1) Add Cambria to the front of the font.serif list 2) Set font.family to serif, so that mpl

[Matplotlib-users] Basemap 0.9.9 ImportError

2008-02-11 Thread Ryan May
Hi, I'm getting the following on Gentoo Linux: #python hurrtracks.py Traceback (most recent call last): File hurrtracks.py, line 7, in module from matplotlib.toolkits.basemap import Basemap as Basemap File /usr/lib/python2.5/site-packages/matplotlib/toolkits/basemap/__init__.py, line 1,

Re: [Matplotlib-users] needed grp2idx

2008-02-11 Thread Jouni K . Seppänen
s_pushparaj [EMAIL PROTECTED] writes: I am working to plot and compare distributions. For that I require the grp2idx.m file to run boxplotC.m. Kindly help me get the request m file. It looks like you got the wrong list. This list is for discussing matplotlib, a Python plotting package. You

[Matplotlib-users] needed grp2idx

2008-02-11 Thread s_pushparaj
Dear list I am working to plot and compare distributions. For that I require the grp2idx.m file to run boxplotC.m. Kindly help me get the request m file. with thanks Pushparaj -- View this message in context: http://www.nabble.com/needed-grp2idx-tp15412798p15412798.html Sent from the matplotlib

[Matplotlib-users] A problem of masked pcolorfast on WXAgg

2008-02-11 Thread minakawa
Hello List, I found a problem that masked pcolorfast does not work properly in zooming, It seems that masked area is not refreshed after zooming on WXAgg. I think pcolorfast works well on pylab.plot though. pcolormesh is the same while pcoloracts appropriately, Please look at the attached

Re: [Matplotlib-users] Curve fitting ...

2008-02-11 Thread brett . mcsweeney
I would recommend using pylab.load for reading the data. For example: x, y = pylab.load(filename, unpack=True) # with other options as required sa6113 [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 09/02/2008 07:34 PM To matplotlib-users@lists.sourceforge.net cc Subject

Re: [Matplotlib-users] How to get current value of xlim/ylim?

2008-02-11 Thread Slackenerny
Hi, I could help myself with graph.get_xlim() which I found after finally guessing the right expressions for Google, but I wonder how I could have found it in the help() output... I've been searching that for quite sometime and didn't come up with anything... So, how could I have helped myself,

[Matplotlib-users] aspect_ratio in combination with sharex

2008-02-11 Thread Mark Bakker
Hello - I have a hard time getting aspect_ratio to work correctly with sharex. This used to work quite a while ago, and has been broken for a long time (or at least I don't know how to get it to work) But I finally found the time to put a simple example together to determine if I do something

Re: [Matplotlib-users] A problem of masked pcolorfast on WXAgg

2008-02-11 Thread Eric Firing
This is a longstanding problem with the quadmesh extension code that is used by pcolorfast when the grid is not rectangular. It is not likely to be fixed on the maintenance branch, but it is fixed on the svn trunk, thanks to work by Michael Drooettboom. Eric minakawa wrote: Hello List, I

[Matplotlib-users] How to get current value of xlim/ylim?

2008-02-11 Thread Slackenerny
Hello List, assume I'm creating a plot via f = Figure(figsize=(5,4), dpi=100) graph = f.add_subplot(111, autoscale_on=False, xlim=[4,50], ybound=-2) graph.plot(x,y,g--o, ms=5) then the user zooms around a little does this and that. Now I want to draw a second plot, which uses the new xlim and

Re: [Matplotlib-users] aspect_ratio in combination with sharex

2008-02-11 Thread Mark Bakker
I seem to have tracked down the problem. After calling the aspect_ratio function, the data limits don't get set. When a new axis with sharex is called, it gets the old data limits. After I call draw() or ax.draw() the datalimit gets set correctly. And creating a subplot with sharex works fine.

Re: [Matplotlib-users] aspect_ratio in combination with sharex

2008-02-11 Thread Michael Droettboom
Before I look into this further: what version of mpl are you using? Mark Bakker wrote: I seem to have tracked down the problem. After calling the aspect_ratio function, the data limits don't get set. When a new axis with sharex is called, it gets the old data limits. After I call draw() or