color of "ginput"
    12 visualizaciones (últimos 30 días)
  
       Mostrar comentarios más antiguos
    
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 comentarios
Respuesta aceptada
  Jakob Sørensen
      
 el 17 de Abr. de 2012
        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 comentarios
  Jakob Sørensen
      
 el 18 de Abr. de 2012
				You could use 'ButtonDownFcn' instead of 'ginput'. It's a bit more work, but makes it more customizable.
Más respuestas (1)
  Walter Roberson
      
      
 el 17 de Abr. de 2012
        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.
Ver también
Categorías
				Más información sobre Data Exploration en Help Center y File Exchange.
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!