plot(1); xlabel(`123_456`)

조회 수: 2 (최근 30일)
TM
TM 2020년 4월 22일
댓글: Kenta 2020년 4월 22일
ラベルに_を入力すると _の後の文字が小さくなる Ver6ぐらいからずっと治らない

채택된 답변

Kenta
Kenta 2020년 4월 22일
こんにちは、'Interpreter', 'none' と打てば望む形でタイトルを表示できます。
x=rand(100,1);
y=x*3;
subplot(1,2,1)
scatter(x,y)
title('MATLAB_plot')
subplot(1,2,2)
scatter(x,y)
title('MATLAB_plot', 'Interpreter', 'none')

추가 답변 (1개)

TM
TM 2020년 4월 22일
Kenta様
ありがとうございました。
10何年気づきませんでした。・・・
strrep(str,'_','-') で変換して表示させていました。
  댓글 수: 1
Kenta
Kenta 2020년 4월 22일
ご返信ありがとうございます。解決し、よかったです。
私も機能を追いきれず、回りくどいコードを書いていることがよくあります...
また何かございましたらご連絡ください。よろしくお願いいたします。

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

카테고리

Help CenterFile Exchange에서 カラーマップ에 대해 자세히 알아보기

태그

제품


릴리스

R2019a

Community Treasure Hunt

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

Start Hunting!