How to change the direction of axis name?
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Jasnoor Singh
el 24 de Mayo de 2016
Comentada: Jasnoor Singh
el 25 de Mayo de 2016
I have the following graph. I want "X-Direction" and "Y-Direction" to be written parallel to the lines of the 3D figure, just like "Pressure (kPa)" along the z axis. Right now they are placed horizontally and don't look good. Any suggestions please?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/164940/image.png)
0 comentarios
Respuesta aceptada
dpb
el 24 de Mayo de 2016
xlabel('X-Direction','rotation',20)
ylabel('Y-Direction','rotation',-20)
3 comentarios
dpb
el 24 de Mayo de 2016
No problem--btw, they're text objects so all associated properties are available. It's kinda' a tangled link to get there from where you would normally start with axes or somesuch, but eventually you can drill down if keep following the properties links...
Más respuestas (0)
Ver también
Categorías
Más información sobre Annotations 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!