plot with a limited range of x

4 views (last 30 days)
alpedhuez
alpedhuez on 7 Jun 2018
Answered: KSSV on 7 Jun 2018
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.

Accepted Answer

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

More Answers (0)

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Tags

Products

Community Treasure Hunt

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

Start Hunting!