Interactive replot when variable changes
조회 수: 1 (최근 30일)
이전 댓글 표시
Hello there, Some time a go I have seen a Matlab video where it was shown that in the software there a was a plot- this plot depended on some data. When the person changed the data using up-down object, the plot interactivelly changed. How to achieve this effect? I need to see how the plottable changes when I modify the variables. For now I change the variable and rerun the script. Is it possible? I would appreciate all help.
댓글 수: 0
답변 (2개)
Joe Yeh
2016년 10월 4일
This is where a GUI program can help you. GUI program is event-driven and can listen and respond to a user's action.
Conceptually, you'll create a GUI with a plot and a uicontrol (for example a drop-down menu or a slidebar). The callback of the uicontrol will effect change on the plot.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Annotations에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!