Use the MATLAB Visualizations app to visualize data in a ThingSpeak™ channel. You can view and explore data using interactive visualizations such as an area plot, line plot, or scatter plot in static visualizations using other MATLAB plots. You can also make visualizations public and use the URL to embed them on websites. ThingSpeak also allows you to use MATLAB to analyze your data. The MATLAB Analysis and MATLAB Visualizations apps provide code templates to assist you with basic operations on your historic or live data. Use code template tutorials to get started with ThingSpeak. Use the apps to convert from one unit to another, compare different or similar data on the same plot, or visualize the statistical distribution of your data.
You can Add Functions to Scripts (MATLAB) in MATLAB Analysis and Visualization apps to allow for modular coding. In addition to the built-in MATLAB functions, you can also use functions from the toolboxes mentioned in Access MATLAB Add-On Toolboxes.
Add Visualizations to Your Channel or Your Website
Visualize the data in a channel.
Choose among customizable visualizations of channel data.
You can use your ThingSpeak plot that updates automatically on any website.
Embed ThingSpeak charts on a custom website.
This example shows how to turn the ThingSpeak channel view into a live data console.
Visually Compare Data of Different Types
This example shows how to read two types of data from an existing ThingSpeak™ channel and generate a line plot with two independent y-axes.
This example show how to read multiple variables from an existing ThingSpeak™ channel and generate a scatter plot to examine the correlation in temperature and pressure.
Visually Compare Data of the Same Type
The MATLAB® Analysis and MATLAB Visualizations apps in ThingSpeak™ let you pick from a selection of code templates as a starting point for building your own project.
This example shows how to read data from an existing ThingSpeak™ channel and generate a plot with three series on the same axis.
Visualize Time Series Data
This example shows how to read data from an existing ThingSpeak™ channel and generate a histogram plot.
This example demonstrates matrix calculations in MATLAB and the use of a compass plot in a MATLAB Visualizations App to show directional distribution.
Visually Compare Location Data
This example shows how to create a heatmap using wireless network signal strength measurements from an ESP32 development board.