how to superscript in subtitle of a figure?

조회 수: 4 (최근 30일)
Kim Arnold
Kim Arnold 2020년 10월 9일
댓글: Adam Danz 2020년 10월 11일
Hi everyone,
I want to superscript my + in the Chemical formula I have in one of my figures such as this : CH5NO2+
by introducing a underscore before the + sign, it does a subscripting.
h=suptitle('CH5NO2_+')
is there similar way to do it for the superscript?
Many thanks in advance!

채택된 답변

Fangjun Jiang
Fangjun Jiang 2020년 10월 9일
h=suptitle('CH5NO2^+')
  댓글 수: 2
Kim Arnold
Kim Arnold 2020년 10월 9일
Thanks a lot!
Adam Danz
Adam Danz 2020년 10월 11일
Starting in r2018b, you can use sgtitle in place to suptitle.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Chemistry에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by