how to shift the plotting graph?

Antworten (1)

Fabio Freschi
Fabio Freschi am 10 Aug. 2021

0 Stimmen

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

Kategorien

Mehr zu 2-D and 3-D Plots finden Sie in Hilfe-Center und File Exchange

Produkte

Version

R2017b

Gefragt:

am 10 Aug. 2021

Beantwortet:

am 10 Aug. 2021

Community Treasure Hunt

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

Start Hunting!

Translated by