How can i create movable handles in Matlab graph to find data at the intersection of the handle and the graph?
5 ビュー (過去 30 日間)
古いコメントを表示
I have a data and after plotting the data I want to develope a program to find out the result value in the graph by providing a vertical movable line which the user can drag thoughout the graph to fing value at desireable frequency. I already know about the datatip feature but this question is based on the future developments of the program.
0 件のコメント
回答 (1 件)
Joe Vinciguerra
2023 年 4 月 4 日
X = 0:0.1:4*pi();
Y = sin(X);
stackedplot(X',Y', "DisplayLabels", "sin(x)");
The vertical line follows the cursor.
参考
カテゴリ
Help Center および File Exchange で Directed Graphs についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!