On 20 February 2012 07:08, surfcast23 <surfcas...@gmail.com> wrote:
>
> Hi I wrote the following script, but it hangs right after plt.show(). I would
> really appreciate it if someone could take a look and let me know where I'm
> messing up. Thanks in advance

Your script works fine for me. It's just that on the first pass
through the loop you're calling plt.plot() and asking it to plot a
line defined by a single point, so the plot is blank.

If you close the plot you'll see that the next one has a line. Close
that and you'll see a line composed of two segments etc...

Alternatively, reduce the indentation level of your plot command and
plot the entire trace after the loop completes.

Cheers,
Scott

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to