File Exchange

image thumbnail

Multi Plot with marker spacing

version 1.0 (3.28 KB) by

plot large 2D data set with custom marker spacing

1 Download

Updated

View License

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.

Comments and Ratings (4)

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.

Jan Simon

Jan Simon (view profile)

A better "remove zeros" with inplace processing:

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

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.

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

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

MATLAB Release
MATLAB 7.12 (R2011a)

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

» Watch video