How to make Xaxis (y=0) black in grid
Mostrar comentarios más antiguos
I have a plot with grid and I would like to have just the Xaxis, y=0, darker so that it is more evident in the graph. How can I do it?
Many thanks
Respuesta aceptada
Más respuestas (1)
Dishant Arora
el 18 de Ag. de 2014
You can change axis color by changing the xcolor or ycolor property of axis:
h = gca;
set(h , 'ycolor' , [1,1,1]);
set(h , 'ygrid' , 'on'); % Set only Y - Grids to property on, you'll not see X - Grid
1 comentario
Silvia
el 18 de Ag. de 2014
Categorías
Más información sobre Labels and Annotations en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!