Mathematica HowTo
How to | Plot Data
Mathematica offers extensive support for plotting all kinds of data in many different ways.
Consider the following data to be plotted (stored as sdata):
 Out[1]=
Use ListPlot to plot sdata:
 Out[2]=
Plot sdata by filling to the axis:
 Out[3]=
Specify a color and increase the size of the data points:
 Out[4]=
Use ListLinePlot to plot sdata with a connecting line:
 Out[5]=
Create another set of data to plot (stored as cdata):
Plot sdata and cdata together:
 Out[7]=
Use ListPolarPlot to plot cdata as points at polar coordinates:
 Out[8]=
Define another dataset to plot (stored as data):
The dataset has 31 sublists:
 Out[10]=
Plot only specific parts of data:
 Out[11]=
Connect these points with lines:
 Out[12]=
Generate a 3D scatter plot of points with an array of height values for data using ListPointPlot3D:
 Out[13]=
Use ListPlot3D to plot data as a surface:
 Out[14]=
Use ListDensityPlot to generate a density plot from the height values of data:
 Out[15]=
Use ListContourPlot to generate a contour plot instead:
 Out[16]=

This constructs a Demonstration of data plotting:
 Out[17]= Play Animation ▪