R2016a cannot see cross-hair against black Figure background

1 次查看(过去 30 天)
I recently started using R2016a on a Windows 7 PC. When I use colordef "black" or "none" for a figure, I cannot see the cross-hair for functions like "ginput" or "gtext". In previous versions, the cross-hair would be white against a black background, or black against a white background. Now, it appears to be black always, regardless of the background color. For example, run the code :
>> figure(5) ; clf(5) ; colordef(5,'black') >> plot(0:100) >> ginput(1)
Then put the mouse over the figure. I cannot see the cross-hair for this version of Matlab.

回答(1 个)

Ryan Povall
Ryan Povall 2016-7-26
Yes, you are correct. It appears that this functionality changed with the new MATLAB Graphics system in the R2014b release. I would check out the following File Exchange submission as a workaround:

类别

Help CenterFile Exchange 中查找有关 Graphics Object Properties 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by