From 2bb382813c7d791c7f322962463c75e4a43b089f Mon Sep 17 00:00:00 2001 From: mpalmsten Date: Tue, 4 Apr 2017 22:43:20 -0500 Subject: [PATCH] For about the 5th time, I fixed the colorbar axis --- plotBathyKalmanStep.m | 3 --- 1 file changed, 3 deletions(-) diff --git a/plotBathyKalmanStep.m b/plotBathyKalmanStep.m index 9f18e8c..6017a44 100644 --- a/plotBathyKalmanStep.m +++ b/plotBathyKalmanStep.m @@ -42,7 +42,6 @@ function plotBathyKalmanStep(bathy, priorBathy) h=colorbar('peer', gca); set( h, 'ydir', 'rev' ); foo = get( h, 'yticklabel' ); foo = strrep(foo,'-',''); -%foo = num2str( abs(str2num(char(foo))), '%.1f' ); set( h, 'yticklabel', foo ); set( get(h,'title'), 'string', '(m)' ); @@ -55,7 +54,6 @@ function plotBathyKalmanStep(bathy, priorBathy) h=colorbar('peer', gca); set( h, 'ydir', 'rev' ); foo = get( h, 'yticklabel' ); foo = strrep(foo,'-',''); -%foo = num2str( abs(str2num(foo)), '%.1f' ); set( h, 'yticklabel', foo ); set( get(h,'title'), 'string', '(m)' ); @@ -67,7 +65,6 @@ function plotBathyKalmanStep(bathy, priorBathy) title('K') h=colorbar('peer', gca); foo = get( h, 'yticklabel' ); -%foo = num2str( abs(str2num(foo)), '%.1f' ); set( h, 'yticklabel', foo ); %