version (1.99 KB) by jake reimer
Faster plotting of large timeseries.


Updated Wed, 12 Jun 2013 20:20:45 +0000

View License

This function is a minimal wrapper for the matlab plot function with automatic downsampling at low zoom factors and cropping at high zoom factors for faster zooms and pans.

It works in subplots and can be combined with normals plots of any kind in the same axes.
The amount of downsampling can be changed by adjusting the value of MAXPOINTS.

Note that jplot uses the 'tag' and 'userdata' properties of the plotted lines.

Cite As

jake reimer (2022). jplot (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2011b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Inspired by: DSPLOT - downsampled plot

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!