Updated 1 Sep 2016
Some applications involve streaming data like specimen temperature, patient heart rate or your favorite stock price as a function of time. A strip chart is a useful way to display streaming data. The convention implemented here is that the current time (or other vaiable) is on the far right side. New points are added to the right. Everyhting else shifts to the left. Excess points drop off the left and get discarded. This has the effect of always showing the recent history of a waveform such as voltage versus time.
This utility function is suitable for use in test & measurement applications with the Data Acquisition Toolbox or the Instrument Control Toolbox.
Robert Bemis (2023). Strip Chart (https://www.mathworks.com/matlabcentral/fileexchange/3356-strip-chart), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Inspired: Scopes for real-time display, StripChartXY
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.