グラフの目盛りを片方だけ非表示にする方法

조회 수: 32 (최근 30일)
Masaki Nakamori
Masaki Nakamori 2021년 2월 1일
댓글: Masaki Nakamori 2021년 2월 1일
グラフの目盛りをx軸の上側だけ、もしくはy軸の右側だけ非表示にする方法はありますでしょうか。

채택된 답변

madhan ravi
madhan ravi 2021년 2월 1일
set(gca, 'Ytick', 'none')
Error using matlab.graphics.axis.Axes/set
Value must be a numeric vector whose values increase.

추가 답변 (1개)

Akira Agata
Akira Agata 2021년 2월 1일
box off と設定したときに表示されるプロットのようなイメージでしょうか?
figure
plot(magic(4))
box off
  댓글 수: 1
Masaki Nakamori
Masaki Nakamori 2021년 2월 1일
ありがとうございます。まさしく認識のとおりです。
ここで「box off」せずにy軸の片側だけやx軸の片側だけのtickを非表示にする方法を探しております。
よろしくお願いいたします。

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

카테고리

Help CenterFile Exchange에서 ラベルと注釈에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!