Synchronized Data Presentations in a GUIDE UI
Perform the following steps in GUIDE and in the Property Inspector to generate the
layout:
1 In the Command Window, type guide, select the Blank GUI template, and then
click OK.
2
Use the Panel tool, , to drag out the three uipanels into the positions shown
above. Keep the defaults for their Tag properties (which are uipanel1, uipanel2,
and uipanel3). Create, in order:
a A long panel on the left. In the Property Inspector, set its Title property value
to Data Set.
b A panel on the lower right, half the height of the first panel. In the Property
Inspector, set its Title property value to Data Statistics.
renaming its Title to in the Property Inspector.
c A panel above the Data Statistics panel. In the Property Inspector, set its
Title property to Sunspots v. Year Plots. This panel changes its name
when the type of plot changes.
(^3) Use the Table tool, , to drag a uitable inside the Data Set panel. Use the
Property Inspector to set the property values as follows:
- ColumnName: Year and Sunspot.
- Data: As described in “Initialize the Data Table” on page 9-37.
- Tag: data_table.
- TooltipString: Drag to select a range of 11 or more
observations. - CellSelectionCallback: data_table_CellSelectionCallback.
Click the pencil-and-paper icon to have GUIDE set this property value
automatically and declare it in the code file.
4 Drag a second uitable inside the Data Statistics panel. Use the Table Property
Editor to set row values as follows:
a Double-click the Data Statistics table to open it in the Property Inspector.