[Dart-dev] DART/branches Revision: 11680

dart at ucar.edu dart at ucar.edu
Sat May 27 16:42:06 MDT 2017


thoar at ucar.edu
2017-05-27 16:42:06 -0600 (Sat, 27 May 2017)
81
merging in the changes from the trunk DART_LAB functions - 
Moha's faster GUIs.




Modified: DART/branches/rma_trunk/documentation/DART_LAB/matlab/oned_model.m
===================================================================
--- DART/branches/rma_trunk/documentation/DART_LAB/matlab/oned_model.m	2017-05-27 22:30:24 UTC (rev 11679)
+++ DART/branches/rma_trunk/documentation/DART_LAB/matlab/oned_model.m	2017-05-27 22:42:06 UTC (rev 11680)
@@ -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);
 
 delta = 0.02;
 tXmin = delta;
@@ -117,115 +122,115 @@
 
 scaled_fontsize = 0.50;
 handles.ui_text_ens_size = uicontrol(handles.ui_InputPanel, ...
-    'Style', 'text', ...
-    'Units', 'Normalized', ...
-    'Position', [0.010 0.750 0.690 0.180], ...
-    'String', 'Ens. Size' , ...
-    'BackgroundColor', atts.background, ...
-    'HorizontalAlignment','right', ...
-    'FontName', atts.fontname, ...
-    'FontUnits', 'Normalized', ...
-    'FontSize', scaled_fontsize, ...


More information about the Dart-dev mailing list