how to shift the plotting graph?

1 visualizzazione (ultimi 30 giorni)
Unkown
Unkown il 10 Ago 2021
Risposto: Fabio Freschi il 10 Ago 2021
if i increase the x-axis, the graph will be different.

Risposte (1)

Fabio Freschi
Fabio Freschi il 10 Ago 2021
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

Categorie

Scopri di più su Programming in Help Center e File Exchange

Prodotti


Release

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by