how to shift the plotting graph?

7 ビュー (過去 30 日間)
Unkown
Unkown 2021 年 8 月 10 日
回答済み: Fabio Freschi 2021 年 8 月 10 日
if i increase the x-axis, the graph will be different.

回答 (1 件)

Fabio Freschi
Fabio Freschi 2021 年 8 月 10 日
Not sure if it is what you want, but you can change the x-axis limits in this way:
set(gca,'xLim',[5 20])
to show the portion of the plot from x = 5 to x = 20

カテゴリ

Help Center および File Exchange2-D and 3-D Plots についてさらに検索

製品


リリース

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by