Is it possible to interpret legends differently?
4 次查看(过去 30 天)
显示 更早的评论
采纳的回答
更多回答(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');
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Legend 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!