shifting zero on the x-axis

7 次查看(过去 30 天)
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

采纳的回答

The Pirate
The Pirate 2017-7-27
x = x + 10;
plot(x, y) % y is your data

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Annotations 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by