thingSpeakPlot vs time of day.

조회 수: 3 (최근 30일)
Mark Clark
Mark Clark 2019년 2월 11일
댓글: Mark Clark 2019년 3월 29일
Good Day
I have a question on thingSpeakPlot.
How do plot against time on the X axis.
Im currently using plot shown below. The problem is when there is a power failure there may be less than 250 data points in that day which then gives an error.
I would also like to include the current day which may only have a few data points.
Notice the time shift in the 3 day temperture comparison following power failure.
thingSpeakPlot((1:250),allData,'legend',{'Yesterday','DBY','3DaysAgo',}, ...
'xlabel','Time Measurement number','YLabel','Temperature C', ...
'Title','3-Day Temperature Comparison');

답변 (1개)

Vinod
Vinod 2019년 3월 26일
Hi Mark,
Can you use plot instead of thingSpeakPlot? Does that resovle the problem?
-Vinod
  댓글 수: 1
Mark Clark
Mark Clark 2019년 3월 29일
Yes, I had to change to plot as thingSpeakPlot was retired.
Still trying to figure out how to plot against time on the X axis.

댓글을 달려면 로그인하십시오.

커뮤니티

더 많은 답변 보기:  ThingSpeak 커뮤니티

카테고리

Help CenterFile Exchange에서 Visualize Data에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by