Skip to content

Commit

Permalink
added a fix to cell length plotting in makeLineage.m
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Wiggins committed Aug 7, 2018
1 parent 7b12773 commit 9e36803
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions viz/makeLineage.m
Original file line number Diff line number Diff line change
Expand Up @@ -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' );
Expand Down Expand Up @@ -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 );
Expand Down

0 comments on commit 9e36803

Please sign in to comment.