Turn off the dispaly of the values on Yaxis

2 Ansichten (letzte 30 Tage)
Tiago Dias
Tiago Dias am 3 Jun. 2019
Kommentiert: Tiago Dias am 3 Jun. 2019
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

Akzeptierte Antwort

KSSV
KSSV am 3 Jun. 2019
set(gca,'yticklabel',[])

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by