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 Center および File ExchangeVisual Exploration についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by