Turn off the dispaly of the values on Yaxis

2 ビュー (過去 30 日間)
Tiago Dias
Tiago Dias 2019 年 6 月 3 日
コメント済み: Tiago Dias 2019 年 6 月 3 日
Hello,
I was wondering if it is possible to just turn off the values from 0 to 160 on Yaxis, but remaining the grid and Ticks?
I tried:
set(gca,'XTick',[], 'YTick', [])
but it removes the grid.
fig1.JPG
Thanks for your time,
Tiago

採用された回答

KSSV
KSSV 2019 年 6 月 3 日
set(gca,'yticklabel',[])
  1 件のコメント
Tiago Dias
Tiago Dias 2019 年 6 月 3 日
Thanks!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeAxis Labels についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by