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, with the 
following code:

ion()
i = 1
while i < 5:
     plot([i],[i],'go',[i],[i+2],'ro')
     print i
     i+=1
     sleep(0.5)
     draw()

- there are no lines between the points, how do I get the lines to show?

- how would I pass keyword parameters such as "label" or use other 
methods such as plot_date?

Also, when the above script finishes, I get:

Fatal Python error: PyEval_RestoreThread: NULL tstate

This application has requested the Runtime to terminate it in an unusual 
way.
Please contact the application's support team for more information.

What does that mean?

cheers,

Chris

-- 
Simplistix - Content Management, Zope & Python Consulting
            - http://www.simplistix.co.uk

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to