Be the first to rate this file! 5 Downloads (last 30 days) File Size: 3.28 KB File ID: #43867
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

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.

07 Dec 2013 Scott

version 2 that is stand alone is located at

14 Oct 2013 Jan Simon

A better "remove zeros" with inplace processing:

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

13 Oct 2013 Scott

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);

Contact us