how to shift the plotting graph?

回答 (1 件)

Fabio Freschi
Fabio Freschi 2021 年 8 月 10 日

0 投票

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

カテゴリ

ヘルプ センター および File Exchange2-D and 3-D Plots についてさらに検索

製品

リリース

R2017b

質問済み:

2021 年 8 月 10 日

回答済み:

2021 年 8 月 10 日

Community Treasure Hunt

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

Start Hunting!

Translated by