MATLAB Answers

0

Turn off the dispaly of the values on Yaxis

Asked by Tiago Dias on 3 Jun 2019
Latest activity Commented on by Tiago Dias on 3 Jun 2019
Accepted Answer by KSSV
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

  0 Comments

Sign in to comment.

1 Answer

Answer by KSSV
on 3 Jun 2019
 Accepted Answer

set(gca,'yticklabel',[])

  1 Comment

Sign in to comment.