Borrar filtros
Borrar filtros

Is it possible to change the color of the cursor when using the GINPUT function?

26 visualizaciones (últimos 30 días)
I am trying to change the color of the cursor when using the "ginput" function and am unable to do so.

Respuesta aceptada

MathWorks Support Team
MathWorks Support Team el 14 de Oct. de 2016
The ability to change the color of the cursor to something other than black or white when using the "ginput" function is not available in MATLAB.
As a workaround, you can use the "WindowButtonMotionFcn" together with the "WindowButtonDownFcn" to replicate the functionality of the "ginput" function while adding the ability to change the color of the cursor.
Attached is an example MATLAB code that illustrates how to do this.
Another solution using the "WindowButtonMotionFcn" together with "WindowButtonDownFcn" can be found on MathWorks File Exchange.
For questions regarding this File Exchange function, please contact the author of the post directly.

Más respuestas (0)

Categorías

Más información sobre Visual Exploration en Help Center y File Exchange.

Productos


Versión

R2016a

Community Treasure Hunt

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

Start Hunting!

Translated by