Selelcting Points in a plot embedded in a GUI
조회 수: 1 (최근 30일)
이전 댓글 표시
Typically when you produce a plot, it creates a separate window with the toolbar menu. If one selects tools -> Data cursor, it allows the user to select points on your plot.
However, when you do this in a GUI application, the toolbar menu doesn't appear and hence does not provide the option to the user to select points a graph. I want to be able to do this. So far I have a plot embedded in a GUI.
댓글 수: 0
채택된 답변
Shashank Prasanna
2013년 1월 17일
In GUIDE, go to tools -> Toolbar Editor and add Data cursor mode. If its a regular gui or plot you can always use >> datacursormode In a programmatic gui you can set the menu bar and toolbar using figure properties:
댓글 수: 0
추가 답변 (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!