Hello Chris,
Hello list,
On Thursday 27 March 2008 18:26, Chris Withers wrote:
Matthias Michler wrote:
I'm not sure that I understand you correctly. The code I refering is the
one which I attached some mails ago. The following works for me:
Ah, okay, to get the problem I was having, change
Matthias Michler wrote:
I'm not sure it is the easiest way, but it works for me:
for label in ax.xaxis.get_majorticklabels():
label.set_rotation(+90)
Yes, that's what I was using, just wondered if there was a better way...
Also, how would I get this kind of updating with bar charts or
On Friday 28 March 2008 13:57, Chris Withers wrote:
Matthias Michler wrote:
I'm not sure it is the easiest way, but it works for me:
for label in ax.xaxis.get_majorticklabels():
label.set_rotation(+90)
Yes, that's what I was using, just wondered if there was a better way...
At
On Fri, Mar 28, 2008 at 8:20 AM, Matthias Michler
[EMAIL PROTECTED] wrote:
On Friday 28 March 2008 13:57, Chris Withers wrote:
Matthias Michler wrote:
I'm not sure it is the easiest way, but it works for me:
for label in ax.xaxis.get_majorticklabels():
On Wednesday 26 March 2008 19:39, Chris Withers wrote:
Matthias Michler wrote:
My x-axis is time, and as new points are plotted, even though I'm
following the above recipe pretty closely, the x-tick spacing isn't
getting sorted out, so I end up with just a jumble as the tick labels
for
Matthias Michler wrote:
the above script leads
to a different behaviour on my system.
What is that behaviour and what version of matplotlib are you using?
I think it is the expected behaviour. The number of xtick is aproximately
constant and some tick get sorted out, when the xlimits are
Hello Chris,
On Thursday 27 March 2008 12:22, Chris Withers wrote:
Matthias Michler wrote:
the above script leads
to a different behaviour on my system.
What is that behaviour and what version of matplotlib are you using?
I think it is the expected behaviour. The number of xtick is
Matthias Michler wrote:
I'm not sure that I understand you correctly. The code I refering is the one
which I attached some mails ago. The following works for me:
Ah, okay, to get the problem I was having, change your script as follows:
Matthias Michler wrote:
My x-axis is time, and as new points are plotted, even though I'm
following the above recipe pretty closely, the x-tick spacing isn't
getting sorted out, so I end up with just a jumble as the tick labels
for the x-axis. Do you know why this might be?
I'm not sure I
Hey Matthias,
Matthias Michler wrote:
maybe something like the following helps you:
-
from pylab import *
from time import sleep
ion() # interactive mode 'on'
figure()
ax =
Hello Chris,
maybe I don't know exactly what you want to do - let me try once more:
You try to plot a line where point need to be added, isn't it?
My first idea was that there should be independent points.
maybe something like the following helps you:
Matthias Michler wrote:
plot([x1], [y1], bo, [x2], [y2], r+)
This didn't work :-S
- the first time I call show(), execution never comes back to my script
so the code never gets to plot any further points
- if I put the show after the plotting loop (which means I don't get
the live plotting
On Tue, 11 Mar 2008, Chris Withers apparently wrote:
the first time I call show()
http://matplotlib.sourceforge.net/faq.html#SHOW
hth,
Alan Isaac
-
This SF.net email is sponsored by: Microsoft
Defy all challenges.
Alan G Isaac wrote:
On Tue, 11 Mar 2008, Chris Withers apparently wrote:
the first time I call show()
http://matplotlib.sourceforge.net/faq.html#SHOW
Okay, that tells me that I prettymuch don't want to be using show(), but
I don't think I want interactive mode either...
What I'm trying to
Ryan May wrote:
Right, the show() command starts the GUI's mainloop, which blocks
execution of the script until you close the figure. What you probably
want is something like the dynamic_demo.py example.
...which barfes for me:
Traceback (most recent call last):
File dynamic_demo.py,
Chris Withers wrote:
Matthias Michler wrote:
plot([x1], [y1], bo, [x2], [y2], r+)
This didn't work :-S
- the first time I call show(), execution never comes back to my script
so the code never gets to plot any further points
Okay, thanks to Ryan, I now have this point fixed, however,
Hello Chris,
you may try something like
plot([x1], [y1], bo, [x2], [y2], r+)
or you have to iterate through your data.
best regards
Matthias
On Friday 07 March 2008 10:11, Chris Withers wrote:
Hi All,
Apologies if I'm missing anything obvious...
How do I plot lines point-by-point as
Hi All,
Apologies if I'm missing anything obvious...
How do I plot lines point-by-point as opposed to by passing arrays?
I'm guessing something like:
plot([x],[y])
...but that feels a bit weird to me.
In any case, using that, I don't know how to plot more than one line at
a time, so thought
18 matches
Mail list logo