Turn off the dispaly of the values on Yaxis

4 vues (au cours des 30 derniers jours)
Tiago Dias
Tiago Dias le 3 Juin 2019
Commenté : Tiago Dias le 3 Juin 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

Réponse acceptée

KSSV
KSSV le 3 Juin 2019
set(gca,'yticklabel',[])

Plus de réponses (0)

Catégories

En savoir plus sur Discrete Data Plots dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by