From 8e9b2611caddcc833c28a7887d92a5cf650540cf Mon Sep 17 00:00:00 2001 From: Jacques Grelet <jacques.grelet@gmail.cpm> Date: Wed, 14 Oct 2020 10:30:51 +0200 Subject: [PATCH] display information in 2 columns --- tsg_io/readTsgSeasave.m | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tsg_io/readTsgSeasave.m b/tsg_io/readTsgSeasave.m index f62e730..d1a7bd9 100644 --- a/tsg_io/readTsgSeasave.m +++ b/tsg_io/readTsgSeasave.m @@ -23,7 +23,7 @@ wbool = true; % update waitbar title with Tex mode disable % ------------------------------------------ if wbool - wb = waitbar(0, ' Loading cnv files... '); + wb = waitbar(0, {' Loading cnv files...',''}); hchild = get(wb,'children'); htitle = get(hchild,'title'); set(htitle,'Interpreter','None'); @@ -64,7 +64,7 @@ tsg.file.type = 'CNV'; for i=1:m if iscell(filename) s = readCnv(filename{i}); - waitbar(i/m, wb, sprintf(' Reading file %s... ', filename{i})); + waitbar(i/m, wb, {' Reading file', sprintf('%s...', filename{i})}); else s = readCnv(filename); end @@ -82,6 +82,7 @@ end % convert DATE and DAYD % --------------------- +waitbar(1, wb, {'Please wait', 'The operation is processing'}); tsg.DAYD = julianToDatenum(tsg.DAYD); tsg.DATE = deblank( datestr(tsg.DAYD,tsg.preference.date_format_variable)); -- GitLab