diff --git a/scripts/mycmap.mat b/scripts/mycmap.mat new file mode 100644 index 0000000000000000000000000000000000000000..aa99515531610772c46e34bbe15ced47a652afce Binary files /dev/null and b/scripts/mycmap.mat differ diff --git a/scripts/trackmatcher.m b/scripts/trackmatcher.m index c2198c63676b050fdd01f3f1a8dcc3aab7a3cfbc..b4ebcb48788249d53eb5af2bca19aa718a44e524 100644 --- a/scripts/trackmatcher.m +++ b/scripts/trackmatcher.m @@ -21,6 +21,9 @@ max_track_dist = 20; % physical units % Plot tracks? do_plot = true; +% Load colormap +load mycmap + %% Get calibration. cal = trackMateGetCalibration(file_calcium); @@ -225,15 +228,15 @@ for k = 1 : n_matches end -cmap = [ - repmat( [ 0.2 0.6 0.2 ], [ 32 1 ]); - repmat( [ 0.2 0.2 0.6 ], [ 32 1 ]); - 0 0 0; - hot(64) ]; +% cmap = [ +% repmat( [ 0.2 0.6 0.2 ], [ 32 1 ]); +% repmat( [ 0.2 0.2 0.6 ], [ 32 1 ]); +% 0 0 0; +% hot(64) ]; hf2 = figure('Position', [ 680 50 700 800 ] ); -colormap(cmap) +colormap(cmap4) imagesc(kymograph) box off