Daily sum in bar chart is wrong

1 回表示 (過去 30 日間)
Rudolf Dudek
Rudolf Dudek 2021 年 7 月 13 日
コメント済み: Rudolf Dudek 2022 年 7 月 20 日
I am collecting the rainfall hourly. If i want to have a daily sum, the sum is not ok.
If i want to sum up 0.28+0.56+0.56 the bar chart displays 0.28.
Does somebody has an idea?
  5 件のコメント
Rudolf Dudek
Rudolf Dudek 2021 年 7 月 17 日
Thanks a lot, i keep you updated
Rudolf Dudek
Rudolf Dudek 2021 年 11 月 4 日
@Christopher Stapels since i changed all seconds in timestamp to be 0, the sum up looks ok.
Before the change the seconds range was from 2 to 20 seconds.

サインインしてコメントする。

採用された回答

Christopher Stapels
Christopher Stapels 2021 年 7 月 13 日
I tried this in one of my channels and it seems to work fine. I wonder if there is something different about your data. Can you share the data used to geenrate those plots? Here is the data I used:
myTimes Var1
____________________ ____
11-Jul-2021 08:38:10 0.28
11-Jul-2021 09:38:10 0.56
11-Jul-2021 10:38:10 0.56
13-Jul-2021 10:38:10 0.28
  6 件のコメント
Christopher Stapels
Christopher Stapels 2022 年 7 月 20 日
Thanks. Everytime we review precedence issues for parameters (timezone versus average, etc), we come up with edge cases and opposing scenarios. Ill submit it to our tracking system for review however. We appreciate your vigilance on the issue.
Rudolf Dudek
Rudolf Dudek 2022 年 7 月 20 日
Thanks a lot.

サインインしてコメントする。

その他の回答 (1 件)

Vinod
Vinod 2021 年 7 月 13 日
My suspicion is that the field has a bunch of 'NaN's in them. Can you download the data for the channel from th "Import/Export" tab of the channel and confirm there are no NaN's or blank slots in the data?
  1 件のコメント
Rudolf Dudek
Rudolf Dudek 2021 年 7 月 14 日
編集済み: Rudolf Dudek 2021 年 7 月 14 日
thanks a lot for your answer.

サインインしてコメントする。

コミュニティ

その他の回答  ThingSpeak コミュニティ

カテゴリ

Help Center および File ExchangeVisualize Data についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by