Code covered by the BSD License  

Highlights from
Strip Chart

4.66667

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

Strip Chart

by

 

28 Apr 2003 (Updated )

Scrolling plot to display streaming data.

| Watch this File

File Information
Description

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.

Acknowledgements

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 (7)
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);
.
.
.
stripchart('Update',Plot2,y)

04 Jan 2013 Iain Robinson

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  
Updates
12 Jan 2010

copyright

Contact us