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 comentarios

darova
darova el 8 de En. de 2020
Please show your attempts.
Did you try plot?
Hazards
Hazards el 8 de En. de 2020
Of course
darova
darova el 8 de En. de 2020
Did it work?

Iniciar sesión para comentar.

Categorías

Más información sobre 2-D and 3-D Plots en Centro de ayuda y File Exchange.

Productos

Versión

R2019a

Preguntada:

el 8 de En. de 2020

Respondida:

el 9 de En. de 2020

Community Treasure Hunt

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

Start Hunting!

Translated by