plot with a limited range of x

2 visualizzazioni (ultimi 30 giorni)
alpedhuez
alpedhuez il 7 Giu 2018
Risposto: KSSV il 7 Giu 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.

Risposta accettata

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

Più risposte (0)

Categorie

Scopri di più su 2-D and 3-D Plots in Help Center e File Exchange

Tag

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by