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