MATLAB 作图斜体设置--保持上下标不斜体。

MATLAB 作图时,legend 中标注的符号怎么才能设置斜体,使上下标中的字母保持标准的正体不变?现在是只要第一个字母设置斜体了,后面的都是斜体,这不符合规范。

 Accepted Answer

kxfyrkrs
kxfyrkrs on 23 May 2023

0 votes

legend('\ita\rm^{12}')

More Answers (0)

Categories

Find more on 编程 in Help Center and File Exchange

Tags

Asked:

on 23 May 2023

Answered:

on 23 May 2023

Community Treasure Hunt

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

Start Hunting!