how to shift the plotting graph?

조회 수: 2 (최근 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 CenterFile Exchange에서 2-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