To get tick label at extremes of an axis

2 visualizaciones (últimos 30 días)
Utsav
Utsav el 23 de Feb. de 2016
Respondida: Utsav el 23 de Feb. de 2016
I get only -100 to 100, +125 and -125 are missing
xt=[-125 -100 -75 -50 -25 0 25 50 75 100 125]; yt=[-125 -100 -75 -50 -25 0 25 50 75 100 125]; set(gca,'XTick',xt); set(gca,'YTick',yt)
set(gca,'xticklabel',[-125 -100 -75 -50 -25 0 25 50 75 100 125])
set(gca,'yticklabel',[-125 -100 -75 -50 -25 0 25 50 75 100 125])

Respuesta aceptada

Utsav
Utsav el 23 de Feb. de 2016
thanks to all I got a way around it axis([-125 125-125 125]) solved the issue.

Más respuestas (0)

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by