スライダーを動かして、マウスを押したままの状態でグラフ位置を調整するなどの処理を入れることは可能でしょうか?
6 views (last 30 days)
Show older comments
MathWorks Support Team
on 25 Oct 2013
Answered: MathWorks Support Team
on 25 Oct 2013
マウスを押したままスライダーを動かす場合に、グラフ位置を調整するなどの処理を入れることは可能であれば、教えてください。
Accepted Answer
MathWorks Support Team
on 25 Oct 2013
スライダーを動かす際、マウスを押したままで位置の調整などの処理を入れることは可能です。上記の処理は WindowButtonMotionFcn 関数とスライドの範囲を取るコマンド get(handles.slider,'Position') を連携させれば実現可能です。サンプルプログラムを下記のリンクからダウンロードすることができます。
0 Comments
More Answers (0)
See Also
Categories
Find more on グラフィックス出力のターゲットの指定 in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!