From 90f7f153e4103e4adb45af8eaf2279b72a58c38c Mon Sep 17 00:00:00 2001 From: Jacques Grelet <jacques.grelet@ird.fr> Date: Mon, 26 Nov 2007 16:07:04 +0000 Subject: [PATCH] =?UTF-8?q?MouseMotion:=20affichage=20de=20la=20position?= =?UTF-8?q?=20en=20DD=C2=B0MM=20S?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tsgqc_GUI.m | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tsgqc_GUI.m b/tsgqc_GUI.m index fe3b8c9..b07c97f 100644 --- a/tsgqc_GUI.m +++ b/tsgqc_GUI.m @@ -583,11 +583,11 @@ function tsgqc_GUI % use sprintf with format instead strcat & num2str but flag % - don't work with 0, eg %+07.4f set( hInfoText, 'String',... - sprintf(['%s - Latitude = %07.4f - Longitude = %08.4f '... - ' - Salinity = %07.4f - Temperature = %07.4f'],... + sprintf(['%s - Latitude = %s - Longitude = %s '... + ' - Salinity = %07.4f - Temperature = %07.4f'],... datestr(tsg.TIME(indCursor(1)),'dd/mm/yyyy HH:MM'),... - tsg.LATITUDE(indCursor(1)), ... - tsg.LONGITUDE(indCursor(1)), ... + dd2dm(tsg.LATITUDE(indCursor(1)),0), ... + dd2dm(tsg.LONGITUDE(indCursor(1)),1), ... tsg.PSAL(indCursor(1)), ... tsg.TEMP_TSG(indCursor(1))... )); -- GitLab