Code covered by the BSD License  

Highlights from
jplot

Be the first to rate this file! 9 Downloads (last 30 days) File Size: 1.99 KB File ID: #42191

jplot

by

 

11 Jun 2013 (Updated )

Faster plotting of large timeseries.

| Watch this File

File Information
Description

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.

Acknowledgements

Dsplot Downsampled Plot inspired this file.

Required Products MATLAB
MATLAB release MATLAB 7.13 (R2011b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (1)
09 Dec 2013 Salvatore

Hi Jake
this function is great.
What about the possibility to use it in handling 3d plot involving patches?
I need to handle big 3d plot involving FE models.
Regards

Salvatore

Updates
12 Jun 2013

Takes initial xL as [min(x) max(x)] rather than axes xlims so that downsampling works correctly if you're zoomed into an existing axis when you jplot.

Contact us