You are previewing MATLAB Graphics and Data Visualization Cookbook.
O'Reilly logo
MATLAB Graphics and Data Visualization Cookbook

Book Description

Present your data in the clearest, most engaging way possible by harnessing the visualization power of MATLAB. With a host of practical recipes and step-by-step instructions, this book is the fast-track to stunning results.

  • Collection of data visualization recipes with functionalized versions of common tasks for easy integration into your data analysis workflow

  • Recipes cross-referenced with MATLAB product pages and MATLAB Central File Exchange resources for improved coverage

  • Includes hand created indices to find exactly what you need; such as application driven, or functionality driven solutions

  • In Detail

    MATLAB's customizable graphics elements allow you to tailor your visualizations for exactly what you need to present; alter the figure and axis properties, lighting, transparency and camera position. Use MATLAB to apply volume visualizations to your data as well as interactivity and animation, or to plot your data in 1, 2, 3 and higher data dimensions.

    "MATLAB Graphics & Data Visualization Cookbook" will serve as your handbook to help you know the right graphic to showcase your data and teach you how to create it in clear step-by-step instructions.

    Tasks range from simple graphs using built-in MATLAB commands, to complex functions making frequently used customizations easy to implement.

    Learn about the key customizable elements in MATLAB graphics starting from figure and axis property settings, color, lighting, transparency and camera positioning to strategies for more advanced data visualization including adding interactivity and animation. Finish with recipes on presentation and publication.

    Learn the techniques and easily customize the recipes to apply to your datasets.

    Table of Contents

    1. MATLAB Graphics and Data Visualization Cookbook
      1. Table of Contents
      2. MATLAB Graphics and Data Visualization Cookbook
      3. Credits
      4. About the Authors
      5. Acknowledgement
      6. About the Reviewers
      7. www.PacktPub.com
        1. Support files, eBooks, discount offers and more
          1. Why Subscribe?
          2. Free Access for Packt account holders
      8. Preface
        1. What this book covers
        2. What you need for this book
        3. Who this book is for
        4. Conventions
        5. Reader feedback
        6. Customer support
          1. Downloading the example code
          2. Downloading the color images of this book
          3. Errata
          4. Piracy
          5. Questions
      9. 1. Customizing Elements of MATLAB Graphics—the Basics
        1. Introduction
          1. Programmatic manipulation of graphics object properties
          2. Altering graphics object properties via the Property Editor
        2. Making your first MATLAB plot
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. See also
        3. Laying out long tick labels without overwriting
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. See also
        4. Using annotations pinned to the axes
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
          5. See also
        5. Tufte style gridding for readability
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. See also
        6. Bringing order to chaos with legends
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
          5. See also
        7. Visualizing details with data transformations
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
          5. See also…
        8. Designing multigraph layouts
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. See also
        9. A visualization to compare algorithm test results
          1. Getting ready
          2. How to do it...
          3. How it works...
      10. 2. Diving into One-dimensional Data Displays
        1. Introduction
        2. Pie charts, stem plots, and stairs plots
          1. How to do it...
          2. How it works...
          3. See also
        3. Box plots
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. See also
        4. Sparklines
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. See also
        5. Stacked line graphs
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. See also
        6. Node link plots
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
          5. See also
        7. Calendar heat map
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
          5. See also
        8. Distributional data analysis
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
          5. See also
        9. Time series analysis
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. See also
      11. 3. Graduating to Two-dimensional Data Displays
        1. Introduction
          1. Surface, patch, and shading
        2. Two-dimensional scatter plots
          1. Getting ready
          2. How to do it...
          3. How it works…
          4. See also
        3. Scatter plot smoothing
          1. Getting ready
          2. How to do it…
          3. How it works…
          4. There's more...
          5. See also
        4. Bidirectional error bars
          1. Getting ready
          2. How to do it...
          3. How it works…
          4. See also
        5. 2D node link plots
          1. Getting ready
          2. How to do it...
          3. How it works…
          4. See also
        6. Dendrograms and clustergrams
          1. Getting ready
          2. How to do it...
          3. How it works…
          4. See also
        7. Contour plots
          1. Getting ready
          2. How to do it...
          3. How it works…
          4. There's more...
          5. See also
        8. Gridding scattered data
          1. Getting ready
          2. How to do it…
          3. How it works...
          4. There's more…
          5. See also
        9. Choropleth maps
          1. Getting ready
          2. How to do it...
          3. How it works…
          4. See also
        10. Thematic maps with symbols
          1. Getting ready
          2. How to do it…
          3. How it works…
          4. See also
        11. Flow maps
          1. Getting ready
          2. How to do it…
          3. How it works...
          4. See also
      12. 4. Customizing Elements of MATLAB Graphics—Advanced
        1. Introduction
        2. Transparency
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. See also
        3. Lighting
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
            1. Effect of vertex normals
            2. Use of the back face lighting option
          5. See also
        4. View control
          1. Getting ready
          2. How to do it...
          3. How it works…
          4. See also
        5. Interaction between light, transparency, and view
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. See also
      13. 5. Playing in the Big Leagues with Three-dimensional Data Displays
        1. Introduction
        2. 3D scatter plots
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. See also
        3. Slice (cross-sectional views)
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
          5. See also
        4. Isosurface, isonormals, isocaps
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
          5. See also
        5. Stream slice
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. See also
        6. Stream lines, ribbons, tubes
          1. Getting started
          2. How to do it...
          3. How it works...
          4. See also
        7. Scalar and vector data with a combination of techniques
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. See also
        8. Explore with camera motion
          1. Getting started
          2. How to do it...
          3. How it works...
          4. There's more...
          5. See also
      14. 6. Designing for Higher Data Dimensions
        1. Introduction
        2. Fusing hyperspectral data
          1. Getting ready
          2. How to do it…
          3. How it works…
          4. See also
        3. Survey plots
          1. Getting ready
          2. How to do it…
          3. How it works…
          4. See also
        4. Glyphs
          1. Getting ready
          2. How to do it…
          3. How it works...
          4. There's more...
          5. See also
        5. Parallel coordinates
          1. Getting ready
          2. How to do it…
          3. How it works…
          4. See also
        6. Tree maps
          1. Getting ready
          2. How to do it…
          3. How it works...
          4. See also
        7. Andrews' curves
          1. Getting ready
          2. How to do it…
          3. How it works…
          4. See also
        8. Downsampling for fast graphs
          1. Getting ready
          2. How to do it…
          3. How it works…
          4. See also
        9. Principal Component Analysis
          1. Getting ready
          2. How to do it…
          3. How it works…
          4. There's more...
          5. See also
        10. Radial Coordinate Visualization
          1. Getting ready
          2. How to do it…
          3. How it works…
          4. See also
      15. 7. Creating Interactive Graphics and Animation
        1. Introduction
        2. Callback functions
          1. Getting started
          2. How to do it...
          3. How it works...
          4. There's more...
          5. See also
        3. Obtaining user input from the graph
          1. Getting started
          2. How to do it...
          3. How it works...
          4. See also
        4. Linked axes and data brushing
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
          5. See also
        5. The magnifying glass demo
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. See also
        6. Animation with playback of frame captures
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
        7. Stream particle animation
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. See also
        8. Animation by incremental changes to chart elements
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. See also
      16. 8. Finalizing Graphics for Publication and Presentations
        1. Introduction
        2. Export formats and resolution
          1. Getting ready
          2. How to do it…
          3. How it works…
          4. See also
        3. Vector graphics for inclusion into documents
          1. Getting ready
          2. How to do it…
          3. How it works…
          4. There's more…
          5. See also
        4. Preserving onscreen font size and aspect ratios
          1. Getting ready
          2. How to do it…
          3. How it works…
          4. See also
        5. Publishing code and graphics to a webpage
          1. Getting ready
          2. How to do it…
          3. How it works…
          4. There's more…
          5. See also
      17. A. References
      18. Index