How can I maintain visible axes when using imagesc (box on doesn't work)?
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I'm displaying an image using imagesc. This makes the black axes disappear. I've tried setting the 'xcolor' and 'yxolor' properties of the axes to black, and I've made sure to use 'box on'. What am I doing wrong? Cheers
4 comentarios
Jan
el 30 de En. de 2023
@Kristoffer Walker: Again: Please post a minimal working example. Prefer to open a new thread for your question.
Chris
el 30 de En. de 2023
Editada: Chris
el 30 de En. de 2023
re:App Designer: See This answer for the grid problem, or if your version of Matlab is current (I don't know what version it was introduced), do this for the axes in your component browser:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1277835/image.png)
As for the box, there is a "Box Styling" section with a checkbox to enable it.
If the image is dark, the ticks may not be discernable. You could visit the "Rulers" section and change XColor and YColor there, to confirm it is still a problem.
Respuestas (0)
Ver también
Categorías
Más información sobre Graphics Object Properties en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!