R2016a cannot see cross-hair against black Figure background

1 回表示 (過去 30 日間)
Stephen Carsello
Stephen Carsello 2016 年 7 月 14 日
回答済み: Ryan Povall 2016 年 7 月 26 日
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 Center および File ExchangeGraphics Object Properties についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by