Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica >

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. A few of the common ones are included in standard Mathematica packages.
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
ListLogLogPlot[list]generate a log-log plot from a list of data
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
BarChart[list]plot a list of data as a bar chart
ErrorListPlot[{{x1,y1,dy1},...}]generate a plot with error bars
PieChart[list]plot a list of data as a pie chart

Some special plotting functions. The second group of functions are defined in standard Mathematica packages.

This generates a log-linear plot.
In[1]:=
Click for copyable input
Out[1]=
Here is a list of the first 10 primes.
In[2]:=
Click for copyable input
Out[2]=
Here is a bar chart of the primes.
In[3]:=
Click for copyable input
In[4]:=
Click for copyable input
Out[4]=
This gives a pie chart.
In[5]:=
Click for copyable input
In[6]:=
Click for copyable input
Out[6]=
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team