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.
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.
version 2 that is stand alone is located at
A better "remove zeros" with inplace processing:
function X = rmz(X)
X = X(X~=0);
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.
%% FUNCTIONS I FORGOT TO ADD
%% [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);
Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.