Matlab GUI plot: Refersh input data and update plot
2 ビュー (過去 30 日間)
古いコメントを表示
I am working with Matlab GUI. I am having problem that the plots are not updated when i change the input data. My code is long but here is the plotting function i am using.
axes(handles.Diagram1) hold all for i=1:6:numel(t) plot(rn,E(i,:)/1000000)
end
The tag of the axis plot is "Diagram1!
Any Help is much appriciated!
0 件のコメント
回答 (1 件)
David Sanchez
2013 年 5 月 10 日
Try to use "drawnow" right after the plot() command. A small pause also helps: pause(0.001)
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Line Plots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!