Problem with using siunitx (latex) in xlabel, ylabel,
12 次查看(过去 30 天)
显示 更早的评论
I want to use SI-Units in xlabel and ylabel. It should be interpreted as latex-text.
What I have tried so far:
xlabel('Zeit ($\unit{\second}$)', 'Interpreter', 'latex');
and
xlabel(['Zeit ', '$(\unit{\second})$'], 'Interpreter', 'latex');
Both ways don't work. I get the error:
String scalar or character vector must have valid interpreter syntax:
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 LaTeX 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!