how to shift the plotting graph?

7 次查看(过去 30 天)
Unkown
Unkown 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 CenterFile Exchange 中查找有关 Programming 的更多信息

产品


版本

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by