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 日間)
Zaza
Zaza 2012 年 12 月 10 日
thanks.
  2 件のコメント
Muruganandham Subramanian
Muruganandham Subramanian 2012 年 12 月 10 日
I din't nderstand your question..
Zaza
Zaza 2012 年 12 月 10 日
i want the scaling of x and y axes to be: -4,-2,0,2,4

サインインしてコメントする。

回答 (1 件)

Muruganandham Subramanian
Muruganandham Subramanian 2012 年 12 月 10 日
Are you expecting this:
figure;
xlim([-4 4])
ylim([-4 4])
  2 件のコメント
Zaza
Zaza 2012 年 12 月 10 日
yes but without -3,-1,1,3 on the axes
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 Center および File Exchange2-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