Skip to content

Commit d843d73

Browse files
committed
fix bug in plot contours
1 parent 66dbba7 commit d843d73

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

utilities/make_patch_video.m

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,10 @@ function make_patch_video(A,C,b,f,Y,cont,options)
108108
up = zeros(1,4);
109109
for i = 1:4
110110
up(i) = 0.95*max(max(A_com(:,:,i)))*max(C(ind(i),:));
111+
ff = find(cont{ind(i)}(1,2:end)<0.1);
112+
cont{ind(i)}(:,ff+1) = [];
111113
end
114+
112115
for t = 1:skp:T
113116
subplot(4,6,[1,2,7,8]); imagesc(Y(:,:,t),[0,mY]);
114117
title('Raw data','fontweight','bold','fontsize',16);

0 commit comments

Comments
 (0)