Azzera filtri
Azzera filtri

Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

グラフの軸上の任意の場所にテキストを入力したい

1 visualizzazione (ultimi 30 giorni)
Soichiro Kato
Soichiro Kato il 24 Ago 2020
Chiuso: MATLAB Answer Bot il 20 Ago 2021
タイトルの通り、グラフの軸上の任意の場所にテキストを入力するコマンドはありますか。
PWMの概略を説明するにあたり、MATLAB Answers上の他の質問とその解答から、PWM波形を出力するところまではできました。
結果は添付したグラフのようになりました。
その上でグラフの縦軸について、軸上の値を消し、かつ1の部分にhigh、0の部分にlowとテキストを入力することは可能でしょうか。
  2 Commenti
源樹 上林
源樹 上林 il 26 Ago 2020
MATLABのバージョンが新しい場合は簡単ですが、バージョン古い場合はsetを使います。
とりあえずこちらを参照ください。
Soichiro Kato
Soichiro Kato il 27 Ago 2020
現在使用中のバージョンはR2018aです。
教えた頂いたリンク先から
yticks
yticklabels
のコマンドを用いてy軸の中身を任意に設定できるようになりました。
ありがとうございました。

Risposte (0)

Questa domanda è chiusa.

Prodotti


Release

R2018a

Community Treasure Hunt

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

Start Hunting!