This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)

Some Special Plots

As discussed in "The Structure of Graphics and Sound", Mathematica includes a full graphics programming language. In this language, you can set up many different kinds of plots.
LogPlot[f,{x,xmin,xmax}]generate a linear-log plot
LogLinearPlot[f,{x,xmin,xmax}]generate a log-linear plot
LogLogPlot[f,{x,xmin,xmax}]generate a log-log plot
ListLogPlot[list]generate a linear-log plot from a list of data
ListLogLinearPlot[list]generate a log-linear plot from a list of data
ListLogLogPlot[list]generate a log-log plot from a list of data
DateListPlot[list]generate a plot from a list of data with date coordinates
DateListLogPlot[list]generate a linear-log plot from a list of data with date coordinates
PolarPlot[r,{t,tmin,tmax}]generate a polar plot of the radius r as a function of angle t
SphericalPlot3D[r,{theta,min,max},{phi,min,max}]
generate a three-dimensional spherical plot
RevolutionPlot3D[f,{t,tmin,tmax}]generate a three-dimensional surface of revolution
BarChart[list]plot a list of data as a bar chart
PieChart[list]plot a list of data as a pie chart

Some special plotting functions.

Here is an exponential function.
In[1]:=
Click for copyable input
This generates linear-log and log-linear plots of the function.
In[2]:=
Click for copyable input
Out[2]=
This gathers some financial time series data.
In[3]:=
Click for copyable input
This plots the financial data on linear and logarithmic scales.
In[4]:=
Click for copyable input
Out[4]=
This uses RevolutionPlot3D to revolve a curve around the and axes.
In[5]:=
Click for copyable input
Out[5]=
Here is a list of the first 10 primes.
In[6]:=
Click for copyable input
Out[6]=
Here is a bar chart of the primes.
In[7]:=
Click for copyable input
Out[7]=
This gives a pie chart.
In[8]:=
Click for copyable input
Out[8]=
Some of the plotting functions available are defined in the Standard Extra Packages included with Mathematica.
ErrorListPlot[{{x1,y1,dy1},...}]generate a plot with error bars
BoxWhiskerPlot[list]generate a box-and-whisker plot of data
ParetoPlot[list]generate a Pareto plot of data
PairwiseScatterPlot[data]plot pairs of coordinates for multivariate data

Some of the plotting functions in the Mathematica standard extra packages.

In[9]:=
Click for copyable input
This plots a dataset with its associated errors.
In[10]:=
Click for copyable input
Out[10]=
In[11]:=
Click for copyable input
This generates a box-and-whisker plot for samples from a normal distribution.
In[12]:=
Click for copyable input
Out[12]=
Here is a random dataset consisting of the letters a through f.
In[13]:=
Click for copyable input
This creates a Pareto plot of the dataset.
In[14]:=
Click for copyable input
Out[14]=
PairwiseScatterPlot can be used to plot pairs of columns from trivariate data.
In[15]:=
Click for copyable input
Out[15]=