how to label y axis of a graph in horizontal manner
14 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Sivakumaran Chandrasekaran
el 10 de Mayo de 2013
Comentada: Welbeck Sintim
el 6 de Sept. de 2020
how to label y axis of a graph in horizontal manner... my output should be jan feb march
0 comentarios
Respuesta aceptada
Azzi Abdelmalek
el 10 de Mayo de 2013
Example
y=[1 2 3 4];
plot(y),
set(gca,'ytick',y,'yticklabel',{'Jan','Feb','March','April'})
Más respuestas (2)
David Sanchez
el 10 de Mayo de 2013
Here you are:
ylabel({'jan';'feb';'march'},'Rotation',0)
2 comentarios
Ver también
Categorías
Más información sobre 2-D and 3-D Plots 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!