How to turn off X axis while keeping the X axis grid lines?
31 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Athul C P
el 5 de Nov. de 2021
Comentada: Athul C P
el 6 de Nov. de 2021
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/790599/image.jpeg)
set(gca,'XTick',[],'fontweight' , 'bold','fontsize',12); xlim([0 122]); grid on ;
0 comentarios
Respuesta aceptada
Sudharsana Iyengar
el 5 de Nov. de 2021
Hi
Please try this and see if this is what you wanted.
grid on
set(gca,'Xticklabel',{})
Más respuestas (1)
Ver también
Categorías
Más información sobre Axis Labels 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!