color of "ginput"
25 ビュー (過去 30 日間)
古いコメントを表示
Hello.. ^^ is possible to change the cursor's color of "ginput" when i implement it..?? cause the color is transparent, sometimes i can't see where is my cursor.. :) thank you...
0 件のコメント
採用された回答
Jakob Sørensen
2012 年 4 月 17 日
You can change the looks by changing cursor type...
set(gcf, 'pointer', 'crosshair');
And then you can change it back by:
set(gcf, 'pointer', 'arrow');
There is also other options than crosshair, but you can probably look that up yourself.
2 件のコメント
Jakob Sørensen
2012 年 4 月 18 日
You could use 'ButtonDownFcn' instead of 'ginput'. It's a bit more work, but makes it more customizable.
その他の回答 (1 件)
Walter Roberson
2012 年 4 月 17 日
Pointers are handled by the operating system, and are one-bit (black and white) with a 1 bit mask (transparent or not). It is not possible to change the pointer color.
参考
カテゴリ
Help Center および File Exchange で Data Exploration についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!