how to shift the plotting graph?

3 visualizaciones (últimos 30 días)
Unkown
Unkown el 10 de Ag. de 2021
Respondida: Fabio Freschi el 10 de Ag. de 2021
if i increase the x-axis, the graph will be different.

Respuestas (1)

Fabio Freschi
Fabio Freschi el 10 de Ag. de 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

Productos


Versión

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by