View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
Strip Chart

Join the 15-year community celebration.

Play games and win prizes!

» Learn more

4.7 | 7 ratings Rate this file 19 Downloads (last 30 days) File Size: 2.9 KB File ID: #3356 Version:
image thumbnail

Strip Chart


Robert Bemis (view profile)


28 Apr 2003 (Updated )

Scrolling plot to display streaming data.

| Watch this File

File Information

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.


This file inspired Strip Chart Xy.

MATLAB release MATLAB 6.5 (R13)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (8)
30 Sep 2016 Mark O'Sullivan

Works great!
2 Questions:

Firstly, how would I set the Y-axis limits to specific values as I don't want the y-axis limits moving based on the data?

Secondly, is it possible to either put 2 sets of data on the stripchart or to use subplot and have multiple plots on the one figure?


16 Apr 2014 Joaquin Sanchez

Works great if you only have one stripchart running on your program. How can I include a StripChartXY into a figure window? I was able to do this with stripchart the follwing way.

fig = figure(8);
Plot2 = plot(time, zeros(size(time)));
stripchart('Initialize', gca);

Comment only
04 Jan 2013 Iain Robinson

Iain Robinson (view profile)

Works almost straight out the box!

In the example program contained in the comments at the top of the file, change the spelling of 'stripchart' to 'StripChart'.

05 Dec 2008 Ryan Ollos

Well written and extremely well documented function, which makes it useful not only as a simple tool, but as a starting point for more complex displays.

31 Oct 2007 vina rambu  
01 Mar 2007 Javen S  
06 Oct 2005 Jim Gottwald

A very nice, well written function to dynamically plot data. Easily adjustable for axis limits and display refresh rate.

27 Apr 2004 sastri o.s.k.s  
12 Jan 2010 1.1


01 Sep 2016

Updated license

Contact us