Skip to content

Commit

Permalink
For about the 5th time, I fixed the colorbar axis
Browse files Browse the repository at this point in the history
  • Loading branch information
mpalmsten committed Apr 5, 2017
1 parent 5f3f163 commit 2bb3828
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions plotBathyKalmanStep.m
Original file line number Diff line number Diff line change
Expand Up @@ -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)' );

Expand All @@ -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)' );

Expand All @@ -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 );

%
Expand Down

0 comments on commit 2bb3828

Please sign in to comment.