Index: /issm/trunk/src/m/utils/DataProcessing/addtrack.m
===================================================================
--- /issm/trunk/src/m/utils/DataProcessing/addtrack.m	(revision 839)
+++ /issm/trunk/src/m/utils/DataProcessing/addtrack.m	(revision 840)
@@ -2,8 +2,8 @@
 %ADDTRACK - modify a map to take values of a track
 %
-%   This routine modify a map to improve it with values of tracks.
+%   This routine modifies a map to improve it with values of tracks.
 %   This output map has more values than the input one so that the values
 %   of the tracks are relevant.
-%   x_m1 and y_m1 are two vector containing the coordinates of the matrix
+%   x_m1 and y_m1 are two vectors containing the coordinates of the matrix
 %   the distance between two points must be the same everywhere
 %   values1 is a matrix of size (y_m1-1)*(x_m1-1)
@@ -52,5 +52,6 @@
 
 %Calculate the multiplicate factor for the new values:
-mult=round((x_m1(2)-x_m1(1))/(1*dist_av));
+%mult=round((x_m1(2)-x_m1(1))/(1*dist_av));
+mult=3;
 
 %Plug the values in the new multiplied matrix
@@ -101,7 +102,10 @@
 %Loop over the points of the track
 nel=size(track_values,1);
+fprintf('\n%s','      track processing progress  0.0 %  ');
+disp('');
 for i=1:nel;
 	if mod(i,1000)==0,
-		disp(sprintf('\r%s%.2f%s','      track processing progress  ',i/nel*100,' %'));
+		fprintf('\b\b\b\b\b\b\b')
+		fprintf('%5.2f%s',i/nel*100,' %');
 	end
 
