setting the step of x and y axes

조회 수: 7 (최근 30일)
Salvatore Mazzarino
Salvatore Mazzarino 2012년 10월 18일
I'm looking for the way to set the step of x and y axes. does it exist a way?
  댓글 수: 1
Thomas
Thomas 2012년 10월 18일
what do you mean by 'step of x and y axes'?

댓글을 달려면 로그인하십시오.

채택된 답변

Azzi Abdelmalek
Azzi Abdelmalek 2012년 10월 18일
편집: Azzi Abdelmalek 2012년 10월 18일
t=0:0.1:10
y=cos(t)
plot(t,y)
set(gca,'xtick',linspace(min(t),max(t),8),'ytick',linspace(min(y),max(y),8))

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Visual Exploration에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by