Michael Gacsaly in MATLAB Answers
Last activity on 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

About ThingSpeak

The community for students, researchers, and engineers looking to use MATLAB, Simulink, and ThingSpeak for Internet of Things applications. You can find the latest ThingSpeak news, tutorials to jump-start your next IoT project, and a forum to engage in a discussion on your latest cloud-based project. You can see answers to problems other users have solved and share how you solved a problem.