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

ラベルに_を入力すると _の後の文字が小さくなる Ver6ぐらいからずっと治らない

 Respuesta aceptada

Kenta
Kenta el 22 de Abr. de 2020

3 votos

こんにちは、'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')

Más respuestas (1)

TM
TM el 22 de Abr. de 2020

0 votos

Kenta様
ありがとうございました。
10何年気づきませんでした。・・・
strrep(str,'_','-') で変換して表示させていました。

1 comentario

Kenta
Kenta el 22 de Abr. de 2020
ご返信ありがとうございます。解決し、よかったです。
私も機能を追いきれず、回りくどいコードを書いていることがよくあります...
また何かございましたらご連絡ください。よろしくお願いいたします。

Iniciar sesión para comentar.

Categorías

Más información sobre 数学 en Centro de ayuda y File Exchange.

Productos

Versión

R2019a

Etiquetas

Preguntada:

TM
el 22 de Abr. de 2020

Comentada:

el 22 de Abr. de 2020

Community Treasure Hunt

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

Start Hunting!