Borrar filtros
Borrar filtros

Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

Plots: Not traceable Line Plot

1 visualización (últimos 30 días)
chris_andreas
chris_andreas el 22 de Jun. de 2016
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
I like to plot a temperature profile with following code:
plot(data.DateTime, AT)
The vector data.DateTime consists of a time series (5 min steps). The vector AT consists of the values relative to time series.
I got now a problem with plotting (see picture in attachment). There are plotted lines (marked in red square) which I cannot understand.
Does anybody know the reason and a solution to this problem?
Thanks in advance. Best regards, Chris

Respuestas (1)

Jos (10584)
Jos (10584) el 22 de Jun. de 2016
Do the order of the data points in the vectors make sense? I assume the vector data.DataTime is not monotonically increasing (e.g., 1 2 3 4 2 4 5 6)
  1 comentario
chris_andreas
chris_andreas el 22 de Jun. de 2016
Thanks for replying. It is sorted monotonically increasing. I attached you the .csv file with the time series and the values.

La pregunta está cerrada.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by