How to redraw plot automatically?
Ältere Kommentare anzeigen
Hi guys. I have a question about redrawing plot automatically. For example, I have function
y=a*sin(bx+c)+d
and I want to plot this function interactively. In GUI I'd have four edit boxes where I can put values of a, b, c, d. And after each change of value matlab would redraw the plot automatically (without using any buttons or something similar).
Is it possible to do this? Thank you for any response.
Antworten (1)
Walter Roberson
am 14 Mär. 2013
0 Stimmen
set the Callback property of the uicontrol('Style','edit') to trigger the redraw.
Kategorien
Mehr zu Line Plots finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!