From 9e368039cbbafc81607f621d327a8ef540291440 Mon Sep 17 00:00:00 2001 From: Paul Wiggins Date: Tue, 7 Aug 2018 09:38:43 -0700 Subject: [PATCH] added a fix to cell length plotting in makeLineage.m --- viz/makeLineage.m | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/viz/makeLineage.m b/viz/makeLineage.m index e865b04..9d83872 100755 --- a/viz/makeLineage.m +++ b/viz/makeLineage.m @@ -213,6 +213,12 @@ set( gca, 'YGrid', 'on') +list = unique([mother,daughter1, daughter2]); +list = list(~isnan(list)); +list = list(list>0); + +intDoLengthAn( clist, list ); + figure(4); ylabel( 'Length' ); @@ -485,10 +491,16 @@ function intDoLengthAn( clist, list ) lengths = squeeze( clist.data3D(flagger,2,:) ); +if size( lengths, 1 ) > size( lengths, 2 ) + lengths = lengths'; +end + figure(4); n_ii = numel(list); for ii = 1:n_ii + + ll = lengths(ii,:); h = semilogy( ll );