[Matplotlib-users] Sigmoid Curve Fitting

2010-09-20 Thread Chris Spencer
Hi, Does Matplotlib/Numpy/Scipy contain the ability to fit a sigmoid curve to a set of data points? Regards, Chris -- Start uncovering the many advantages of virtual appliances and start using them to simplify

Re: [Matplotlib-users] Sigmoid Curve Fitting

2010-09-20 Thread Chris Spencer
, Chris Spencer chriss...@gmail.com wrote: Hi, Does Matplotlib/Numpy/Scipy contain the ability to fit a sigmoid curve to a set of data points? You could also experiment at zunzun.com. Choose 2D sigmoidal from the 2D function scroll list. -- Gökhan

[Matplotlib-users] Setting Relative Heights For Figure Rows

2010-01-11 Thread Chris Spencer
I wanted to display my figure legend below my figure in the second row, so I used subplot(211) to create two rows. However, this creates two rows of equal height, so my graph is crammed into half the figure height in the first row, while my tiny legend barely fills up any of the second row. How

Re: [Matplotlib-users] Stopping Legend From Overlapping the Graph

2009-06-28 Thread Chris Spencer
Awesome, thanks. That works perfectly. Chris On Sun, Jun 28, 2009 at 12:16 AM, Jae-Joon Leelee.j.j...@gmail.com wrote: sorry. As guillaume has mentioned, you need to install mpl from svn. Here is some workaround you can try. I guess it would work with 0.98.5.3. Basically, you create a

Re: [Matplotlib-users] Stopping Legend From Overlapping the Graph

2009-06-27 Thread Chris Spencer
Thanks. Is that some sort of blending edge feature? I just installed 0.98.5.3, but the sample code gives me the error: TypeError: __init__() got an unexpected keyword argument 'bbox_to_anchor' On Thu, Jun 25, 2009 at 10:20 PM, Jae-Joon Leelee.j.j...@gmail.com wrote: The linked page below shows

[Matplotlib-users] Stopping Legend From Overlapping the Graph

2009-06-25 Thread Chris Spencer
How do you show the legend below the graph, so it doesn't overlap at all with the graph? The docs for the legend() loc parameter only seem to specify where *on* the graph you want it to show, which is driving me nuts because even using best, it usually hides some of my data. I want to see *all*

[Matplotlib-users] Unable to Plot Date Axis Due To TypeError: a float is required

2008-03-11 Thread Chris Spencer
I'm getting a nonsensical error when attempting to make a simple plot with a date axis. Googling shows this similar errors, but none with a date axis. What could be causing this? import datetime from pylab import figure, show fig = figure() ax = fig.add_subplot(111) dates =