| MATLAB® | ![]() |
| On this page… |
|---|
After determining what type of graph best represents your data, you can further enhance the visual display of information using the tools discussed in this section. These tools enable you to explore data interactively, eliminating the need to set the plethora of graphics properties required to achieve the same results using MATLAB® commands.
Once you have achieved the desired results, you can then generate the MATLAB code necessary to reproduce the graph you created interactively. See Example — Generating M-Code to Reproduce a Graph for more information.
See the following sections for information on specific tools.
You can also explore graphs visually with data brushing and linking:
Data brushing lets you "paint" observations on a graph to select them for special treatment, such as
Extracting them into new variables
Replacing them with constant or NaN values
Deleting them
Data linking connects graphs with the workspace variables they display, updating graphs when variables change
Brushing and linking work together across plots. When multiple graphs or subplots display the same variables, linking the graphs and brushing any of them causes the same data to also highlight on other linked graphs. The highlighting also appears on the selected rows of data when the variables are opened in the Variable Editor. For details, see Marking Up Graphs with Data Brushing and Making Graphs Responsive with Data Linking in the Data Analysis documentation.
You can perform numerical data analysis directly on graphs with curve fitting and time series tools; see
These and other topics are covered in the Data Processing section of the Data Analysis documentation. You can also use the Curve Fitting Toolbox™cftool if you have installed that toolbox.
![]() | Data Exploration Tools | Data Cursor — Displaying Data Values Interactively | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |