shifting zero on the x-axis

14 visualizaciones (últimos 30 días)
mosa mm
mosa mm el 27 de Jul. de 2017
Respondida: The Pirate el 27 de Jul. de 2017
Hello,
How can I shift the zero on the x-axis. My data plot starts from zero, I want to shift zero to 10, then my data starts from -10 on the x-axis. Thanks

Respuesta aceptada

The Pirate
The Pirate el 27 de Jul. de 2017
x = x + 10;
plot(x, y) % y is your data

Más respuestas (0)

Categorías

Más información sobre Annotations en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by