Is it possible to interpret legends differently?
古いコメントを表示
I woud like to interpret a legend by 'latex' but another without LaTeX, is it possible?
採用された回答
その他の回答 (1 件)
Jan
2017 年 2 月 2 日
You can set the interpreter for each legend individually:
subplot(1,2,1)
h1 = plot(1:10)
legend(h1, '$2^n$', 'Interpreter', 'LaTeX');
subplot(1,2,2)
h2 = plot(1:20)
legend(h2, '$2^n$', 'Interpreter', 'none');
カテゴリ
ヘルプ センター および File Exchange で Legend についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!