I am trying to add the word "multi-disciplinary" in the X-axis of a figure, but I use the \hyphenation command without success.
I hope anyone could help me
Regards. Rafael

답변 (2개)

Jonas
Jonas 2022년 5월 6일
편집: Jonas 2022년 5월 6일

0 개 추천

as far as I am aware, there is no automatic hyphenation in the labels, if you want to break the label, use e.g.
xlabel({'multi-','disciplinary'},'Interpreter','latex')
Star Strider
Star Strider 2022년 5월 6일

0 개 추천

It appears to work as written —
figure
xlabel("multi-disciplinary", 'Interpreter','latex')
Do you want a different result?
.

카테고리

도움말 센터File Exchange에서 Data Type Identification에 대해 자세히 알아보기

제품

릴리스

R2020b

질문:

2022년 5월 6일

답변:

2022년 5월 6일

Community Treasure Hunt

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

Start Hunting!

Translated by