Hiding x and y axes, but leaving top and right axes visible?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Erik J
el 9 de Oct. de 2018
Comentada: Erik J
el 10 de Oct. de 2018
I have a plot and I want to leave the top and right axes but hide the traditional x and y axes. I cannot figure out a way to do this. Any ideas? Thank you!
0 comentarios
Respuesta aceptada
Kevin Chng
el 9 de Oct. de 2018
Hi Erik,
plot([0 1],[0 1])
set(gca,'XAxisLocation','top','YAxisLocation','right');
Is this what you want?
Más respuestas (0)
Ver también
Categorías
Más información sobre Axis Labels 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!