How do I print [%] in a title plot while using LaTeX interpeter?

29 ビュー (過去 30 日間)
Darío Slaifstein
Darío Slaifstein 2020 年 7 月 12 日
回答済み: madhan ravi 2020 年 7 月 12 日
Hi, guys!
I'm creating a plot whose title should look like:
η[%]
while using:
title('$\eta [%]$','fontsize',14,'interpreter','latex')
But it returns the following Warning and the wrong title:
Warning: Error updating Text.
String scalar or character vector must have valid interpreter syntax:
$\eta [
any idea?

採用された回答

madhan ravi
madhan ravi 2020 年 7 月 12 日
title('$\eta \left[\%\right]$','interpreter','latex','FontSize',14)

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeTitle についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by