How to change ghraph interval when using fplot

1 回表示 (過去 30 日間)
mohammad Ghazy
mohammad Ghazy 2019 年 3 月 23 日
コメント済み: Stephan 2019 年 3 月 24 日
fplot(@(v) v^(2))
So I plotted an equation using fplot and as a default I get interval [ -5 5 ] and I need to change it to for example [ 0 100 ] how can I do that.
my output is this graph right now
askkk.PNG

採用された回答

Stephan
Stephan 2019 年 3 月 23 日
編集済み: Stephan 2019 年 3 月 23 日
fplot(@(v) v.^2,[0 100])
  2 件のコメント
mohammad Ghazy
mohammad Ghazy 2019 年 3 月 24 日
thank you that work, can you also tell me how to change interval for y axis?
Stephan
Stephan 2019 年 3 月 24 日
fplot(@(v) v.^2,[0 100])
ylim([-2000 12000])

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSurface and Mesh Plots についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by