Turn off the dispaly of the values on Yaxis

조회 수: 1 (최근 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',[])

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Axis Labels에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by