Azzera filtri
Azzera filtri

Removing Xaxis and Yaxis values

984 visualizzazioni (ultimi 30 giorni)
Waseem Hussain
Waseem Hussain il 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

Risposta accettata

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

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Labels and Annotations in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by