Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Plots: Not traceable Line Plot

조회 수: 2 (최근 30일)
chris_andreas
chris_andreas 2016년 6월 22일
마감: MATLAB Answer Bot 2021년 8월 20일
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

답변 (1개)

Jos (10584)
Jos (10584) 2016년 6월 22일
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
chris_andreas
chris_andreas 2016년 6월 22일
Thanks for replying. It is sorted monotonically increasing. I attached you the .csv file with the time series and the values.

이 질문은 마감되었습니다.

태그

Community Treasure Hunt

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

Start Hunting!

Translated by