ThingSpeak data tips Matlab Visualization Plot
6 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Michael Gacsaly
am 27 Mär. 2021
Kommentiert: Christopher Stapels
am 24 Jan. 2025
I want to create a ThingSpeak Matlab Visualization Plot with data tips (similar to the defaut ThingSpeak plot visualization).
When I enable this with after tge plot with:
dcm = datacursormode;
dcm.enable = "on";
I get data tips that say how long ago the plot was updated ("seconds ago").
So I tried to define an update function (from an example). But that did not help.
Seeing the Matlab code that generates the default ThingSpeak plot would likely answer my question...but I could not find it.
dcm.UpdateFcn = @displayCoordinates;
function txt = displayCoordinates(~, info)
txt = {sprintf('X: %.5f', info.Position(1)), sprintf('Y: %.5f', info.Position(2))};
end
0 Kommentare
Akzeptierte Antwort
Christopher Stapels
am 29 Mär. 2021
Some of the features of ThingSpeak field plots are not available on custom visualizations.
Interactive plots from custom visualizations are not presently available.
You can create a custom visualization that provides the last update text on the plot itself at the time the plot was generated (not at mouse hover time)
It is possible to create interactive plots with ThingSpeak data in MATLAB Online or MATLAB desktop. Here is a video that shows how you can generate an IoT data explorer app in MATLAB.
3 Kommentare
Konstantin
am 20 Jan. 2025
Without intercativity these custom visualization charts are pretty much useless...
Christopher Stapels
am 24 Jan. 2025
Consider using MATLAB online for fully interactive plots. I think you can share a lot of important data without interactive plots. Using text labels or creative scaling, or multiple tiled plots, you can still share the information you are trying to share with the consumers of your plots.
Weitere Antworten (0)
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!