User`s guide
GUI to Interactively Explore Data in a Table (GUIDE)
- Provide a file dialog box or an input dialog box and code capable of
filtering out nonnumeric, nonmatrix data.
- Provide default names for columns a nd a way for the user to rename
them.
• Enable the user to select which data colum ns to analyze and plot:
- A way for the user to indicate which columns to use as independent (x,
normally) and dependent (y,normally)variables.
- A uicontrol or menu to identify which columns to process, as Tablestat
already uses cell selection to identify subsets of data.
• Program the G UI to open a plot in a new figure window when the u ser
double-clicks one of its axes (instead of or in addition to using a context
menu to do this). This involves:
- Providing a ButtonDownFcn for each axes that obtains the current
SelectionType prope r ty of the figure and determining if one or two
clicks occurred.
Tip Use get(gcbf, 'Sele ctionType') in the c allback and check for a
value of
'open'.
- Setting the NextPlot property of axes 1 and axes2 to ReplaceChildren
to avoid deleting the handle of the ButtonDown Fcn from the axes eve ry
time a graph is plotted into it (which always occurs when
NextPlot is
Add,thedefault).
- Generating a new figure and axes, and copying the contents of the
clicked axes to it, as the context menu callbacks currently do.
10-53