plot label with latex symbol

171 次查看(过去 30 天)
hi
how can i enter latex symbol (greek letter rho this time) in the labels of a plot? (first order bessel function)
yl={'J_{1}(\rho)','$'};
xl={'\rho','$'};
ylabel(yl,'interpreter','latex')
ylabel(xl,'interpreter','latex')

采纳的回答

Peng Li
Peng Li 2020-4-3
You need to have the leading and ending symbol $.
e.g., ylabel('$J_{1}(\rho)$','interpreter','latex')

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Labels and Annotations 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by