Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: GUI
Replies: 5   Last Post: Dec 30, 2012 1:41 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
ImageAnalyst

Posts: 12,932
Registered: 12/26/06
Re: GUI
Posted: Dec 29, 2012 11:59 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Debora
In your loop "for i=1:w" you call figure(1). Not sure what that does in a loop, but it might blow away any prior plot from a prior iteration of the loop. Other than that I don't see any reason why it wouldn't plot, though it's inefficient since you're plotting the whole array each time as you make it (add an additional point). If you want to do it that way, perhaps as an animation, you'll need to add a "drawnow" after the call to plot(). Otherwise, just call plot after loop is all done.

Maybe next time you might consider asking in the Answers forum instead of the newsgroup.


Date Subject Author
12/28/12
Read GUI
Debora
12/28/12
Read Re: GUI
Jan Simon
12/29/12
Read Re: GUI
Debora
12/29/12
Read Re: GUI
ImageAnalyst
12/30/12
Read Re: GUI
Bruno Luong
12/29/12
Read Re: GUI
Debora

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.