How Can I put an asterisk as superscript and letters as subscript to a letter in ylabel of matlab plot?

10 次查看(过去 30 天)
I want to make an Italic Bold labelling in a plot's y axis label having an asterisk as the supercript and letters as subscript as shown below. What could be the syntax for this labelling.

采纳的回答

Chunru
Chunru 2021-5-12
The following will do:
xlabel('\it H_{cs}^*', 'FontWeight', 'bold')

更多回答(0 个)

类别

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

产品


版本

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by