필터 지우기
필터 지우기

To get tick label at extremes of an axis

조회 수: 4 (최근 30일)
Utsav
Utsav 2016년 2월 23일
답변: Utsav 2016년 2월 23일
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])

채택된 답변

Utsav
Utsav 2016년 2월 23일
thanks to all I got a way around it axis([-125 125-125 125]) solved the issue.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Descriptive Statistics에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by