color of "ginput"
조회 수: 28 (최근 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!