How can I select programmatically AxesToolbar tool?
1 回表示 (過去 30 日間)
古いコメントを表示
I'm building an app and would like to use only brush tool for one of my plots and pre-select this for user. How can I select at startup function the brush tool programmatically?
So far I have made brush the only availabe option:
% Create axestoolbar with only brush
axtoolbar(app.UIAxes,{'brush'});
0 件のコメント
回答 (1 件)
Thomas Fournier
2021 年 8 月 11 日
Just doing this after your scatter should work:
x = rand(20,1);
y = rand(20,1);
scatter(x,y)
brush('on')
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Introduction to Installation and Licensing についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!