Commit 9750bd8a authored by Tom's avatar Tom

reorganising

parent 477e3ab7
function [h,h2]=scatterline(data2plot)
jit = (rand(size(data2plot))-0.5) * 0.1;
[nrows, ncolz] = size(data2plot);
offsets = repmat(1:ncolz,nrows,1);
hold on
h2 = plot(mean(data2plot));
h=scatter((jit(:) + offsets(:)), data2plot(:));
set(h,'MarkerFaceColor',[0.5 0.5 0.5]);
% set(h,'MarkerFaceAlpha',0.5);
% set(h,'MarkerEdgeAlpha',0.5);
set(h,'MarkerEdgeColor',[1 1 1]);
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment