I suggest that you focus on the OO interface, rather than the pylab
interface from the beginning. This will ease the transition from command
line use to embedding, help folks understand the structure of MPL, and
is the right way to do it (IMHO) with an OO language anyway.
+1
I think
Oz Nahum wrote:
Hi,
I can't find a way to do a logarithmic regression in matplotlib,
This can be done relatively easily in spread sheets like gnumeric and
excel.
Has anyone got a clue how to do it ?
Thanks, Oz.
Matplotlib handles the graphics. For numeric regressions and fitting you
but you should be able to adapt the example below to your needs. This
example shows how to fit a
gaussian to some noisy data.
This sure helps, thanks.
I don't know if scipy has a logarithmic regression predefined,
so my question still stands. I'm still interested in logarithmic regression.
If
Dear ALL,
I am under the impression that this is a very common question, but is
there any way to toggle on/off a legend from a MPL plot?
Thanks in advance!
Best regards,
--
Dr. Mauro J. Cavalcanti
Ecoinformatics Studio
P.O. Box 46521, CEP 20551-970
Rio de Janeiro, RJ, BRASIL
E-mail:
On Tue, Jan 6, 2009 at 6:06 AM, Bryan Cole bryan.c...@teraview.com wrote:
I think many people will want to move from command-line stuff to
embedding in the end. I've been a number of users attempt to embed mpl
figures using the pylab interface and it always ends in frustration...
Hmm, if
On Tue, Jan 6, 2009 at 7:15 AM, Mauro Cavalcanti mauro...@gmail.com wrote:
Dear ALL,
I am under the impression that this is a very common question, but is
there any way to toggle on/off a legend from a MPL plot?
Any artist can be toggled on and off by setting the visible property
leg =
Is the list of return values from the clabel() function supposed to
represent the position and orientation of the contour labels? I have a
script below where I try to re-draw the contour labels using the Text
objects in the list returned from clabel(), and they do not line up in
my output.
I guess you're missing vertical and horizontal alignment.
Also, your font properties were not set correctly. The 4th argument of
the text function is a color.
fontdict2 = {'fontweight':'light',
'color': 'r',
'fontsize':fontsize}
fp = FontProperties(fontdict2)
labels =
John Hunter wrote:
I think many people will want to move from command-line stuff to
embedding in the end.
Hmm, if people are trying to do this, it does does point to an absence
of adequate documentation because for years we've been saying on the
lists that for years that you should not
Jae-Joon - Thank you for your suggestion. I wasn't aware I needed the
alignments.
However, when I try your sample code in my script, I get a sequence of
rendering errors if I use show() or savefig():
Traceback (most recent call last):
File
Christopher Barker wrote:
A FAQ is a good idea, but the real problem is that most of the docs,
examples and code on this list has been matlab-style. People are going
to follow examples far more than any amount of documentation.
I agree. I tend to learn by example with less resistance.
Dear ALL,
2009/1/6 Christopher Barker chris.bar...@noaa.gov:
A FAQ is a good idea, but the real problem is that most of the docs,
examples and code on this list has been matlab-style. People are going
to follow examples far more than any amount of documentation.
I fully agree. Matplotlib
I have (what I thought was ) a simple question:
How do I display a matplotlib plot on WPF (running a C# application)? I want to
be able to do some animation eventually, so exporting to png etc. is not an
option.
I did a lot of googling but got nowhere. Any help is greatly appreciated.
I'm not aware of anyone having done this.
It may require a small bit of C/C# extension code to transfer the image
to the WPF window buffer (assuming you're not running IronPython and can
access the necessary APIs directly from Python). You can look at the
_tkagg.cpp extension for an example
I can't reproduce the error and I guess it is back end specific.
Anyhow, the fontproperties object were created incorrectly and this
may be cause of the problem. I just thought your original dictionary
was in a correct form.
So, test your code w/o fontproperties and see if your text is placed
in
On Tue, Jan 6, 2009 at 11:59 AM, Mauro Cavalcanti mauro...@gmail.com wrote
I fully agree. Matplotlib examples, available tutorials, and official
documentation seems too much directed towards presenting it as an
I don't think this is really true anymore -- practically every example
I've written
Hi everybody,
I have a set of x,y values and draw these points connected by a line. Is it
possible to change the color of the points/line segments according to
another parameter which is given for every point?
Thank you for your help,
Cheers,
Marcus
--
View this message in context:
Hi
Click on the link below and please enter your birthday for me. I am creating a
birthday list of all my friends and family.
http://www.birthdayalarm.com/bd2/84023778a187800123b1445150339c245145681d1386
Many Thanks,
Jibo
18 matches
Mail list logo