Effacer les filtres
Effacer les filtres

R2016a cannot see cross-hair against black Figure background

1 vue (au cours des 30 derniers jours)
Stephen Carsello
Stephen Carsello le 14 Juil 2016
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.

Réponses (1)

Ryan Povall
Ryan Povall le 26 Juil 2016
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:

Catégories

En savoir plus sur Labels and Annotations dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by