Fraction in Matlab label axis without using latex interpreter?

Hello,
i want to have a fraction in my label axis.
I read about the latex interpreter, but if I use the latex interpreter, I can´t choose my fontname.
So i need an other solution to create a fraction in my label axis, which allows me to choose my fontname.
I also read about using this expression: '^{a}/_{b}'
But this doesn't look good.
Thank you!

답변 (1개)

dpb
dpb 2023년 1월 11일
이동: dpb 2023년 1월 11일

0 개 추천

Can't always have what we want, unfortunately.
It's been a frustration "for since forever" that there's inconsistent and limited support for LaTeX/TeX in MATLAB -- there's just enough to entice but to almost always frustrate if try anything but the most basic either way.
There simply isn't any known way to do what you're asking for; you can write the fraction w/ LaTeX and accept the available font or use a chosen font with TeX and try to kludge up a text expression, but you're wasting your time trying to do anything different; just can't be done...
Heaven only knows how much time users have spent on such attempts....

카테고리

도움말 센터File Exchange에서 Axis Labels에 대해 자세히 알아보기

질문:

Leo
2023년 1월 11일

이동:

dpb
2023년 1월 11일

Community Treasure Hunt

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

Start Hunting!

Translated by