t this had no effect and I ended up with the additional
parameter (fig_nr in the example above) which also did not work.
Is this maybe a bug or did I forget an important thing?
I'm running Debian sid with python-matplotlib 0.99.1.2-2 (I hope the numbering
from Debi
Hi,
> If I select the x in
> the upper right, it dies badly.
This is maybe another problem, after closing the windows the program should
exit with exitcode 0.
--
# -*- coding: utf-8 -*-
from pylab import *
t = linspace(0,10,100)
plot(t, sin(t))
show()
-
Hi,
your problem is that you enter the X values in an unordered way? Then, you
just have to sort the key-value-pairs before plotting.
One way it works is to create a dict in the form "d = {x1: y1,x2:y2}" (with a
for loop and so on), then extract the keys:
k = d.keys()
k.sort()
v = [d[key] for
I'm pretty sure your problem is not generally related to matplotlib, all the
examples you mentioned and the one you sent me by e-mail worked for me. Maybe
you try a different version or a different operating system for your scripts.
---
Hi,
> For newbies to MPL, needed imports seem a bit baffling. scipy, pylab,
> matplotlib, ...? What libs or lib components do I only need for a
> particular use? Suppose I want to produce a scatter, contour, or 3d
Like you said: Depends on the particular use. How to give a universal answer?
Mat
Why don't you just use the code provided here:
http://matplotlib.sourceforge.net/examples/api/watermark_image.html
The first thing to do when you want to plot something is maybe to look at the
examples section, isn't it? It shows pretty good how to not only mark points,
but also to mark points
Hi Nico,
I didn't test it, but maybe with something like that:
rc('text', usetex=True)
[taken from
http://matplotlib.sourceforge.net/plot_directive/mpl_examples/pylab_examples/tex_demo.py]
ax.set_xticks((-pi,pi))
ax.set_xticklabels(('$-\pi$','$\pi$'))
[taken from
http://matplotlib.sourceforg
Hi Wayne,
(I wanted to answer you directly but the mail came back, don't know why)
I have several points that
you really should work on if you expect anyone to answer to your mails in
future. First, you should check the destination of your messages. I got at
least three of your messages addres
If you are interested in contributing to matplotlib check out this link:
http://matplotlib.sourceforge.net/faq/howto_faq.html#contributing-howto
The PDF is not the "original source", it's a product of the sphinx
documentation system I think so contributing happens in simple plain text
files. Yo
When I come back tonight I will try to fix the errors for you.
--
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/
The easiest way is to check out the SVN / git repo, make the changes and
create a patch according to the instructuins here:
http://matplotlib.sourceforge.net/faq/howto_faq.html#submit-a-patch
Best regards
Philipp
--
Do
Hi,
> How do I print as label of an axis the Theta symbol - θ?
you can take a look in the docs, there are examples how to use LaTeX for the
labels. You get the letter in LaTeX with \theta or \Theta.
--
Download Intel® P
Hi David,
I found this one::
xticks( arange(5), ('Tom', 'Dick', 'Harry', 'Sally', 'Sue') )
On the page
http://matplotlib.sourceforge.net/api/pyplot_api.html#matplotlib.pyplot.xticks
If I had that problem I would try to do something like that:
xvalues = linspace(0,100,1000)
xticks(xvalues, ["
The error is the 'size':'larger', not the passing as keyword arguments. Maybe
you try to stick (as "workaround") with a fixed number, like 'size':12
It's located in matplotlib/lib/matplotlib/rcsetup.py
def validate_float(s):
'convert s to float or raise'
try: return float(s)
except
14 matches
Mail list logo