Chapter 6
Understanding Plotting Basics
IN THIS CHAPTER
Defining and understanding plots
Working with the plot function
Changing plot specifics
Creating 2D plots
MATLAB includes fabulous routines for plotting (or graphing) the data and expressions that you supply to the software. Using MATLAB’s familiar interface, you can produce visual representations of various functions and data sets, including 2D x-y graphs, log scales, bar, and polar plots, as well as many other options. The visuals that MATLAB produces resemble anything from the graph of an algebraic equation to pie charts often used in business and to specialized graphs.
In this chapter, you find out how to use 2D plotting functions to create expression and data plots and how the same process works with other plotting routines in MATLAB. You also discover the commonly used visual styles for representing various types of data, how to combine plots, and how to modify the plots to match specific data sets.
Considering Plots
A plot is simply a visualization of data. Most people see a series of numbers in a table and can’t really ...
Get MATLAB For Dummies, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.