User`s guide

R2006b
21-20
Data Analysis
Generate M-File Now Supports Basic Fitting and Data Statistics
The Generate M-File option on the File menu of MATLAB figure windows now
generates code that reproduces plot objects created with the Basic Fitting Tool or the
Data Statistics Tool. The generated M-file function accepts new data as input and creates
plot objects with the same graphics properties as those in the generating figure. In
addition, the M-file recomputes fits and statistics for the new data. The code shows
you how to program what you do interactively with the Basic Fitting Tool or the Data
Statistics Tool.
New Options for Working with Time Series Objects
Time Series Tools are now easier to find. From the MATLAB Start button, select
MATLAB > Time Series Tools.
Time series objects are now fully supported by the Array Editor. When you open a
timeseries object (using open or the Workspace browser), the editor from Time
Series Tools appears in the Array Editor.
Time series objects can now be opened directly in Time Series Tools. Select a
timeseries object in the Workspace browser, right click, and choose Open in Time
Series Tools from the context menu.
In Time Series Tools, you can now change subplot indices interactively. Click on a
plotted line in a time series view and drag and drop it from one subplot to another. To
create a new subplot, drag and drop the plotted line below the bottom axes.