グラフ上のプロットラインにイベントを設定
7 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
matlab2013bを使用し、matlab gui にてツールを作っています。 グラフ上に複数のラインをプロットしています。 マウスがどの線の上にマウスオーバーされたのか知ることはできますでしょうか。 そもそもプロットされたラインにマウスオーバーのイベントを設定できますでしょうか。
0 Commenti
Risposta accettata
Kazuya
il 17 Ott 2018
Lineオブジェクトのプロパティに ButtonDownFcn があるので、クリックすれば何とかなりそうな気がしますが、マウスオーバーはどう実装しすればいいかはパッと思いつきません。 https://jp.mathworks.com/help/matlab/ref/matlab.graphics.primitive.line-properties.html
Più risposte (0)
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!