removing numbers on axis without removing the grid lines
Mostrar comentarios más antiguos
Hi all
When I use following command to remove numbers on the -y axis of a graph, it also removes the grid lines. How can I keep the grid lines?
set(gca,'YTick',[])
Regards
Suleyman
Respuesta aceptada
Más respuestas (2)
Achilleas
el 23 de Jul. de 2018
0 votos
The aforementioned solution didn't work for me, meaning that I wasn't able to activate the grid minor choice.
So, I used this 'xticklabel',num2str('').
1 comentario
Muhammad Adil
el 7 de Mayo de 2020
Thanks It also worked for me.
C. Nwachoma
el 25 de Sept. de 2018
0 votos
How do you reverse the process in case you remove the numbering on the wrong axis?
Categorías
Más información sobre Axis Labels en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!