Plot different color data range

Hello everyone,
I want to plot a simple time series over time, but with 2 different colors.
For a specific range of data on my x-axis (time values), I want to change the color.
How can I do that?
Thanks in advance!

3 commentaires

darova
darova le 8 Jan 2020
Please show your attempts.
Did you try plot?
Hazards
Hazards le 8 Jan 2020
Of course
darova
darova le 8 Jan 2020
Did it work?

Connectez-vous pour commenter.

Catégories

En savoir plus sur 2-D and 3-D Plots dans Centre d'aide et File Exchange

Produits

Version

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by