how can i rescale ths axes of 2-D graph so the x-axis and the y-axis coordinates are: -4,-2,0,2,4?

조회 수: 1 (최근 30일)
thanks.

답변 (1개)

Muruganandham Subramanian
Muruganandham Subramanian 2012년 12월 10일
Are you expecting this:
figure;
xlim([-4 4])
ylim([-4 4])
  댓글 수: 2
Muruganandham Subramanian
Muruganandham Subramanian 2012년 12월 10일
편집: Muruganandham Subramanian 2012년 12월 10일
then goto Edit -> Axes Properties -> then select X axis then click More Properties in Axis Rulers -> Xtick delete data(i.e. -3 -1 1 3). Repeat the same from instead of X axis, Use Y axis

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

카테고리

Help CenterFile Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by