Bar Graph legend & x axis
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Rizwan Khan
am 6 Jul. 2021
Kommentiert: Rizwan Khan
am 13 Jul. 2021
why the legends are showing same colour if i have 1 than 1 data ? if only 1 data then the legend is showing correctly.
how to assign x as each day of month like 1 to 31st july, i need "x" only as date realtime. not as datetime
0 Kommentare
Akzeptierte Antwort
Scott MacKenzie
am 6 Jul. 2021
Bearbeitet: Scott MacKenzie
am 6 Jul. 2021
Change line 3 from
t = datetime;
to
t = linspace(datetime('yesterday'), datetime('tomorrow'), length(InspectionPlan));
For plotting, t needs to be the same size as InspectionPlan. The line above achieves this, but ideally you should probably intialize t so each entry is the date/time of the corresponding entry in InspectionPlan.
3 Kommentare
Weitere Antworten (1)
Christopher Stapels
am 6 Jul. 2021
This looks like an interesteing application. Can you tell us more about what you are monitoring?
0 Kommentare
Communitys
Weitere Antworten in ThingSpeak Community
Siehe auch
Kategorien
Mehr zu Visualize Data finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!