[Dart-dev] DART/releases Revision: 11679
dart at ucar.edu
dart at ucar.edu
Sat May 27 16:30:24 MDT 2017
thoar at ucar.edu
2017-05-27 16:30:24 -0600 (Sat, 27 May 2017)
108
merging in the changes from the trunk (to the DART_LAB functions -
adding Moha's inflation-enhanced GUIs)
Index: DART/releases/Lanai/DART_LAB/matlab
===================================================================
--- DART/releases/Lanai/DART_LAB/matlab 2017-05-27 22:19:35 UTC (rev 11678)
+++ DART/releases/Lanai/DART_LAB/matlab 2017-05-27 22:30:24 UTC (rev 11679)
Property changes on: DART/releases/Lanai/DART_LAB/matlab
___________________________________________________________________
Added: svn:mergeinfo
## -0,0 +1,5 ##
+/DART/branches/development/DART_LAB/matlab:4680-6255
+/DART/branches/gitm/DART_LAB/matlab:5143-6215
+/DART/branches/gitm_lanai/DART_LAB/matlab:6571-6652
+/DART/branches/helen/DART_LAB/matlab:5995-6161
+/DART/trunk/DART_LAB/matlab:6443-11678
\ No newline at end of property
Modified: DART/releases/Lanai/DART_LAB/matlab/oned_model.m
===================================================================
--- DART/releases/Lanai/DART_LAB/matlab/oned_model.m 2017-05-27 22:19:35 UTC (rev 11678)
+++ DART/releases/Lanai/DART_LAB/matlab/oned_model.m 2017-05-27 22:30:24 UTC (rev 11679)
@@ -44,6 +44,11 @@
%
% DART $Id$
+%>@todo FIXME really should set plot limits based on model bias and inflation values
+%> could set state limits to +/- 7
+%> observation likelihood graphic (handles.axes) can have a static range
+%> based on these values as well.
+
help oned_model
atts = stylesheet; % get the default fonts and colors
@@ -60,10 +65,10 @@
figHeight = 600; % The height of the entire figure, in pixels
handles.figure = figure('Position', [figXmin figYmin figWidth figHeight], ...
- 'Units', 'Pixels', ...
- 'Name', 'oned_model');
+ 'Units' , 'Pixels', ...
+ 'Name' , 'oned_model');
-set(handles.figure,'Color', atts.background);
+set(handles.figure, 'Color', atts.background);
%% -----------------------------------------------------------------------------
@@ -78,26 +83,26 @@
scaled_fontsize = 0.5; % set fontsize
handles.ui_button_advance_model = uicontrol('Style', 'pushbutton', ...
- 'Units', 'Normalized', ...
- 'Position', [0.125 0.905 0.182 0.064], ...
- 'String', 'Advance Model', ...
- 'BackgroundColor', 'White', ...
- 'FontName', atts.fontname, ...
- 'FontUnits', 'Normalized', ...
- 'FontSize', scaled_fontsize, ...
- 'FontWeight', 'normal', ...
- 'Callback', @step_ahead);
+ 'Units' , 'Normalized', ...
+ 'Position' , [0.125 0.905 0.182 0.064], ...
+ 'String' , 'Advance Model', ...
+ 'BackgroundColor' , 'White', ...
+ 'FontName' , atts.fontname, ...
+ 'FontUnits' , 'Normalized', ...
+ 'FontSize' , scaled_fontsize, ...
+ 'FontWeight' , 'normal', ...
+ 'Callback' , @step_ahead);
handles.ui_button_start_auto_run = uicontrol('Style', 'pushbutton', ...
- 'Units', 'Normalized', ...
- 'Position', [0.125 0.819 0.182 0.064], ...
- 'String', 'Start Auto Run' , ...
- 'BackgroundColor', 'White', ...
- 'FontName', atts.fontname, ...
- 'FontUnits', 'Normalized', ...
- 'FontSize', scaled_fontsize, ...
- 'FontWeight', 'normal', ...
- 'Callback', @auto_run_Callback);
+ 'Units' , 'Normalized', ...
+ 'Position' , [0.125 0.819 0.182 0.064], ...
+ 'String' , 'Start Auto Run' , ...
+ 'BackgroundColor' , 'White', ...
+ 'FontName' , atts.fontname, ...
+ 'FontUnits' , 'Normalized', ...
+ 'FontSize' , scaled_fontsize, ...
+ 'FontWeight' , 'normal', ...
+ 'Callback' , @auto_run_Callback);
%% -------------------------t---------------------------------------------------
% Set up a parent container so we can move the one container around instead of
@@ -104,9 +109,9 @@
% trying to manipulate the positions of all the components.
handles.ui_InputPanel = uipanel('Units','Normalized', ...
- 'Position', [0.774 0.378 0.210 0.370], ...
- 'BorderType', 'none', ...
- 'BackgroundColor', atts.background);
+ 'Position' , [0.774 0.378 0.210 0.370], ...
+ 'BorderType' , 'none', ...
+ 'BackgroundColor' , atts.background);
More information about the Dart-dev
mailing list