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

8 Ansichten (letzte 30 Tage)
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.

Akzeptierte Antwort

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

Weitere Antworten (0)

Produkte


Version

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by