plot with a limited range of x

2 次查看(过去 30 天)
I would like to plot (x,y) where x is dates from 2000 to 2018. I would like to plot only for x from Jan 1 2010. Please advise how to set options for plot.

采纳的回答

KSSV
KSSV 2018-6-7
Read about xlim. You plot the whole data and limit your axes to your desired limits.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 2-D and 3-D Plots 的更多信息

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by