Skip to content
Snippets Groups Projects
Commit eacda1e0 authored by jacques.grelet_ird.fr's avatar jacques.grelet_ird.fr
Browse files

add a fourth column to display SSTP_LINCOEF_OFFSET

change DATE convention attribute position and add one for <PARAM>_CALCOEF_DATE
yyyymmdd
parent acd70994
No related branches found
No related tags found
No related merge requests found
......@@ -33,7 +33,7 @@ default_length = .11;
% -------------------------------
left = .01;
bottom = .95;
inc_x = 3 * default_length;
inc_x = 2.2 * default_length;
inc_y = 0.01;
% get actual date to format
......@@ -163,10 +163,10 @@ for i = nca_keys
'Parent', hHeaderFig, ...
'Units', 'normalized', ...
'Style', 'text', ...
'Fontsize', tsg.fontSize-2, ...
'Fontsize', tsg.fontSize-4, ...
'HorizontalAlignment', 'left', ...
'Position', [left + 2*s.length, bottom, s.length, s.height], ...
'String', convention);
'Position', [left , bottom - (inc_y * 5/3), s.length, s.height], ...
'String', strcat('[', convention, ']'));
end
% set dynamically uicontrol from tsg struct
......@@ -691,6 +691,19 @@ uiwait(hHeaderFig);
'String', value, ...
'Tag', char(cle) );
% add convention for <PARAM>_CALCOEF_DATE
% ---------------------------------------
if ~isempty(strfind(cle, 'CALCOEF_DATE'))
uicontrol(...
'Parent', hHeaderFig, ...
'Units', 'normalized', ...
'Style', 'text', ...
'Fontsize', tsg.fontSize-4, ...
'HorizontalAlignment', 'left', ...
'Position', [left , bottom - (inc_y * 5/3), s.length, s.height], ...
'String', '[yyyymmdd]');
end
% Check vertical position of last uicontrol and creation new colomn
% -----------------------------------------------------------------
bottom = bottom - inc_y - s.height;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment