Effacer les filtres
Effacer les filtres

Removing Xaxis and Yaxis values

984 vues (au cours des 30 derniers jours)
Waseem Hussain
Waseem Hussain le 3 Nov 2017
Hey I have plotted a graph but I want to remove the values on the axis, I don't want the numbers to show

Réponse acceptée

Chenchal
Chenchal le 3 Nov 2017
% code
x = rand(1,100);
plot(x);
set(gca,'XTick',[], 'YTick', [])
  3 commentaires
Kyril Kaufmann
Kyril Kaufmann le 6 Juin 2020
% gca = ax
set(ax,'xticklabel',[])
Paulo Providencia
Paulo Providencia le 10 Mar 2023
I had to use xticklabels([])

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Labels and Annotations 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