How to align and wrap labels according to perspective of 3D figure

조회 수: 15 (최근 30일)
Sebastian Thoma
Sebastian Thoma 2019년 3월 4일
답변: Sebastian Thoma 2019년 3월 11일
I'd like to modify my x/y ticks and related labels, as they should lay in their associated plane.
I've attached the matlab-membrane, once plotted in matlab (object of interest) and origin (ticks and labels as I want them to look like).
Is it possible the get the layout of the origin-plot in matlab, too?
membrane_matlab.png matlab-plot
membrane_origin.pngorigin-plot

답변 (2개)

Sreelakshmi S.B
Sreelakshmi S.B 2019년 3월 7일
You can rotate the axis labels by setting properties 'XTickLabelRotation' and 'YTickLabelRotation' for the axes(try rotating by 45 degrees).It won't change their planes but the labels would look more like the ones in your original plot. You can also try modifying a few of the other properties using the 'Property Inspector' of the image or by altering the properties of the axes(use 'gca' for this) and see what comes closest to your image.
You can find a list of the properties available for the axes here:
Additionally, you can also try using 'text' in place of labels for the axes and try altering the properties of text. You can find the properties available for 'text' here:

Sebastian Thoma
Sebastian Thoma 2019년 3월 11일
Thanks for your answer.
I already tried your suggestions, they won't do the trick in this case.

카테고리

Help CenterFile Exchange에서 Labels and Annotations에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by