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.
Cite As
Robert Bemis (2024). Strip Chart (https://www.mathworks.com/matlabcentral/fileexchange/3356-strip-chart), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Graphics > 2-D and 3-D Plots > Animation >
- MATLAB > Graphics > Formatting and Annotation > Labels and Annotations > Annotations >
Tags
Acknowledgements
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.