Skip to content
This repository has been archived by the owner. It is now read-only.

Commit

Permalink
let numbers in plot stay on position
Browse files Browse the repository at this point in the history
  • Loading branch information
MPIBR-vollrathf committed Oct 8, 2016
1 parent a65da34 commit 6146544
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion functions/alternativePlot.m
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,9 @@ function drawEverything(imageStart, imageEnd, plotStart, plotEnd)
signal(i,:) = signal(i,:) + maximum;
rgb = cm(round(64/subPlotCols * (i-1)+1),:);
plot(signal(i,:), 'Color', rgb);
text(size(signal,2), maximum, num2str(i))
%text(size(signal,2), maximum, num2str(i))

text(plotEnd, maximum, num2str(i))
%plot single components dotted
for clusterIdx = cluster{i}
cell_sigPlot(clusterIdx,:) = cell_sigPlot(clusterIdx,:) + maximum;
Expand Down

0 comments on commit 6146544

Please sign in to comment.