[Matplotlib-users] [ploting data] Live data

2011-12-02 Thread Fabien Lafont
Hello everyone, I'm trying to plot live data extracting from remote devices (here it's simulated by get_info1 and 2 the result is always 0.8 or 0.9 I can't understand why it doesnt plot the graph at the end of the while loop. Does somebody has an idea? #!/usr/bin/env python from visa import *

[Matplotlib-users] problem with annotate

2011-12-02 Thread Neal Becker
Using horizontalalignment='right', it seems that if a point lies on the right edge of the plot, the annotation does not appear, even though (since the text should be right aligned), the text would have been on the plot and be visible. Any workaround?

Re: [Matplotlib-users] [ploting data] Live data

2011-12-02 Thread Fabien Lafont
Thx Daniel I didn't know extend and it's more suitable for my program. It doesn't change the problem of plotting, but thx again! 2011/12/2 Daniel Hyams dhy...@gmail.com: I don't have PyQt installed, so I couldn't test the code, but don't you want to be using extend and not append, if you are

[Matplotlib-users] how to use different font for serif

2011-12-02 Thread Jonathan Slavin
Hi all, I've been trying to use a different serif font for a plot and have been running into problems. I thought I could just do something like: from matplotlib import rc rc('font', family='serif', serif='Times New Roman') but if I try that I end up getting: findfont: Font family ['serif'] not

Re: [Matplotlib-users] how to use different font for serif

2011-12-02 Thread Tony Yu
On Fri, Dec 2, 2011 at 4:13 PM, Jonathan Slavin jsla...@cfa.harvard.eduwrote: Hi all, I've been trying to use a different serif font for a plot and have been running into problems. I thought I could just do something like: from matplotlib import rc rc('font', family='serif', serif='Times