Products & Services Solutions Academia Support User Community Company

Learn more about MATLAB   

Ways to Explore Graphical Data

Introduction

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.

Types of Tools

See the following sections for information on specific tools.

You can also explore graphs visually with data brushing and linking:

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.

Customizing Data Exploration Tools

Most of the data exploration tools place you in a mode in which mouse gestures and clicks control a figure's content. You can customize behavior to control what happens in a mode by setting up a mode object for that mode. You can find examples of how to do this in the reference pages for datacursormode, pan, zoom , and rotate3d. You can also customize the behavior of the mouse scroll wheel by writing a callback for the WindowScrollWheelFcn property of a figure, but your custom scroll wheel callback will be ignored while in an interactive mode.

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS