Documentation Center

  • Trial Software
  • Product Updates

Types of MATLAB Plots

MATLAB® offers a variety of data plotting functions plus a set of GUI tools to create and modify graphic displays. The following two tables classify and illustrate the kinds of plots you can create with MATLAB. They include line, bar, area, direction and vector field, radial, and scatter graphs.

    Note:   All the figures are generated on a Windows® system. The placement of the toolbar and menu options can vary for other operating systems.

Two-Dimensional Plotting Functions

This table shows MATLAB 2-D plotting functions. Click any icon to see the documentation for that function.

Line GraphsBar GraphsArea GraphsDirection GraphsRadial GraphsScatter Graphs

plot

bar (grouped)

area

feather

polar

scatter

plotyy

barh (grouped)

pie

quiver

rose

spy

loglog

bar (stacked)

fill

comet

compass

plotmatrix

semilogx

barh (stacked)

contourf

 

ezpolar

 

semilogy

hist

image

   

stairs

pareto

pcolor

   

contour

errorbar

ezcontourf

   

ezplot

stem

    

ezcontour

     

Three-Dimensional Plotting Functions

This table shows MATLAB 3-D and volume plotting functions. Some functions generate 3-D data (cylinder, ellipsoid, sphere) that you can use to generate geometric shapes on which you can superimpose your data. Click any picture in the table to see the documentation for that function.

Line GraphsMesh Graphs and Bar GraphsArea Graphs and Constructive ObjectsSurface GraphsDirection GraphsVolumetric Graphs

plot3

mesh

pie3

surf

quiver3

scatter3

contour3

meshc

fill3

surfl

comet3

coneplot

contourslice

meshz

patch

surfc

streamslice

streamline

ezplot3

ezmesh

cylinder

ezsurf

 

streamribbon

waterfall

stem3

ellipsoid

ezsurfc

 

streamtube

 

bar3

sphere

   
      
 

bar3h

    

Was this topic helpful?