How to automatically update graph?
6 ビュー (過去 30 日間)
古いコメントを表示
hi everyone, i have to plot 2 columns of an uitable to a graph. this table change if i change value into an edit text. i would to automatically update graph (with new values of the uitable) when i change value into edit text. how can i do?
0 件のコメント
回答 (1 件)
Walter Roberson
2015 年 9 月 24 日
You could use http://www.mathworks.com/help/matlab/ref/linkdata.html with http://www.mathworks.com/help/matlab/ref/refreshdata.html.
But I find much easier is to have the edit callback call a graphing routine that fetches the current data property from the uicontrol and plots based upon that.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Migrate GUIDE Apps についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!