View License

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

» Watch video

Highlights from
Multi Plot with marker spacing

Be the first to rate this file! 2 Downloads (last 30 days) File Size: 3.28 KB File ID: #43867 Version: 1.0
image thumbnail

Multi Plot with marker spacing



plot large 2D data set with custom marker spacing

| Watch this File

File Information

Used to generate a single plot of single/multiple large 2D data sets. The unique feature is the ability to marker spacing over a line plot. This is my first version, so might have some bugs.

Required Products MATLAB
MATLAB release MATLAB 7.12 (R2011a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (4)
11 Dec 2013 Scott

Scott (view profile)

thanks Jan,

It was a thing over time. I have older functions that call remove_zeros, and later I started using rmz, so been lazy to go through and update all my functions.

Comment only
07 Dec 2013 Scott

Scott (view profile)

version 2 that is stand alone is located at

Comment only
14 Oct 2013 Jan Simon

Jan Simon (view profile)

A better "remove zeros" with inplace processing:

function X = rmz(X)
X = X(X~=0);

Comment only
13 Oct 2013 Scott

Scott (view profile)

I forgot to add a function I used all the time. I'll link the stand alone version as soon as MATLAB has it uploaded. But in the mean time, at the end of the .m file you can the following code. Let me know if there are any other errors.

%% [X] = rmz(Y)
% this is a wrapper for removie_zeros function
% See also remove_zeros

function [X] = rmz(Y)
[X] = remove_zeros(Y);

%% [X] = remove_zeros(Y)
function [X] = remove_zeros(Y)
X = Y(Y~=0);

Comment only

Contact us