Borrar filtros
Borrar filtros

Removing Xaxis and Yaxis values

980 visualizaciones (últimos 30 días)
Waseem Hussain
Waseem Hussain el 3 de Nov. de 2017
Comentada: Paulo Providencia el 10 de Mzo. de 2023
Hey I have plotted a graph but I want to remove the values on the axis, I don't want the numbers to show

Respuesta aceptada

Chenchal
Chenchal el 3 de Nov. de 2017
% code
x = rand(1,100);
plot(x);
set(gca,'XTick',[], 'YTick', [])
  3 comentarios
Kyril Kaufmann
Kyril Kaufmann el 6 de Jun. de 2020
% gca = ax
set(ax,'xticklabel',[])
Paulo Providencia
Paulo Providencia el 10 de Mzo. de 2023
I had to use xticklabels([])

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Labels and Annotations en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by