I have a 24hr data, how can I force the x-axis to have ticks 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24?

 Respuesta aceptada

Azzi Abdelmalek
Azzi Abdelmalek el 16 de Jul. de 2015
Editada: Azzi Abdelmalek el 16 de Jul. de 2015
plot(0:24)
set(gca,'xtick',0:24)
Look also
doc xticklabel

Más respuestas (0)

Productos

Etiquetas

Preguntada:

el 16 de Jul. de 2015

Editada:

el 16 de Jul. de 2015

Community Treasure Hunt

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

Start Hunting!

Translated by