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

ListPolarPlot

Updated In 7 Graphic
ListPolarPlot[{r1, r2, ...}]
plots points equally spaced in angle at radii ri.
ListPolarPlot[{{Theta1, r1}, {Theta2, r2}, ...}]
plots points at polar coordinates Thetai, ri.
ListPolarPlot[{list1, list2, ...}]
plots several lists of values.
  • ListPolarPlot[list] by default plots each element of list as a separate point.
  • The angle theta is measured in radians, counterclockwise from the positive x axis.
  • The x, y position corresponding to r, theta is r cos(theta), r sin(theta). The value of theta need not be between 0 and 2 pi.
  • In ListPolarPlot[{r1, ..., rn}], r1 is taken to be associated with theta=0, and rn with theta=2 pi(1-1/n).
AspectRatioAutomaticratio of height to width
AxesOrigin{0,0}where axes should cross
MeshFunctions{#3&}how to determine placement of mesh points
PolarAxesFalsewhether to draw polar axes
PolarAxesOriginAutomaticwhere to draw polar axes
PolarGridLinesNonepolar gridlines to draw
PolarTicksAutomaticpolar axes ticks
Plot a list of radii r equally spaced in angle:
Join the points with a line:
Use theta, r coordinates for the data:
Show multiple sets of data:
Plot a list of radii r equally spaced in angle:
In[1]:=
Click for copyable input
Out[1]=
Join the points with a line:
In[2]:=
Click for copyable input
Out[2]=
 
Use theta, r coordinates for the data:
In[1]:=
Click for copyable input
Out[1]=
 
Show multiple sets of data:
In[1]:=
Click for copyable input
Out[1]=
For regular data consisting of r values, the theta data range is uniformly spaced:
Provide an explicit theta data range by using DataRange:
Plot multiple sets of regular data:
For irregular data consisting of theta,r value pairs the theta data range is inferred from data:
Plot multiple sets of irregular data:
Ranges where the data is nonreal are excluded:
Use MaxPlotPoints to limit the number of points used:
PlotRange is selected automatically:
Use PlotRange to focus on areas of interest:
Use Joined to connect datasets with lines:
Multiple datasets are automatically colored to be distinct:
Provide explicit styling to different sets:
Add labels:
Provide an interactive Tooltip for the data:
Use shapes to distinguish different datasets:
Use InterpolationOrder to smooth joined data:
The axes normally intersect at {0,0}:
Specify where the axes cross:
ColorFunction only applies to Joined datasets:
Color by scaled x, y, theta and r coordinates:
Color with a named color scheme:
ColorFunction has higher priority than PlotStyle for coloring the curve:
ColorFunctionScaling only applies to Joined datasets:
Color the line based on the scaled r value:
Manually scale the r value:
Lists of radii are equally spaced in angle around the origin:
Give the starting and ending angles:
Each dataset is scaled to the same domain:
Pairs are interpreted as theta,r coordinates:
Specifying DataRange in this case has no effect, since theta values are part of the data:
Joined lines can be interpolated:
By default, linear interpolation is used:
Use zero-order or piecewise-constant interpolation:
Use third-order spline interpolation:
Interpolation order zero to 5:
Join the dataset with a line:
Join the first dataset with a line, but use points for the second dataset:
Join the dataset with a line, and show the original points:
All points are included by default:
Uniformly spaced data is downsampled:
In this case, downsample from 10^6 to 10^3 points:
Mesh only applies to Joined datasets:
The initial and final sampling meshes are typically the same:
Interpolated data may introduce points:
Use 20 mesh levels evenly spaced in the theta direction:
Use an explicit list of values for the mesh in the theta direction:
Use explicit styles at specific points:
MeshFunctions only applies to Joined datasets:
Use a mesh evenly spaced in the x, y, theta and r directions:
Show five mesh levels in the x direction (red) and ten in the y direction (blue):
MeshShading only applies to Joined datasets:
Alternate red and blue segments of equal angles in the theta direction:
Use None to remove segments:
MeshShading can be used with PlotStyle:
MeshShading has higher priority than PlotStyle for styling the curve:
Use PlotStyle for some segments by setting MeshShading to Automatic:
MeshShading can be used with ColorFunction and has higher priority:
MeshStyle only applies to Joined datasets:
Color the mesh the same color as the plot:
Use a red mesh in the x direction:
Use a red mesh in the x direction and a blue mesh in the y direction:
Use big red mesh points in the theta direction:
ListPolarPlot normally uses distinct colors to distinguish different sets of data:
Automatically use colors and shapes to distinguish sets of data:
Use shapes only:
Change the size of the default plot markers:
Use arbitrary text for plot markers:
Use explicit graphics for plot markers:
Use the same symbol for all the sets of data:
Explicitly use a symbol and size:
PlotRange is automatically calculated:
Show the whole dataset:
Use different style directives:
By default, different styles are chosen for multiple datasets:
Explicitly specify the style for different datasets:
PlotStyle applies to both lines and points:
PlotStyle can be combined with ColorFunction:
PlotStyle can be combined with MeshShading and has lower priority:
MeshStyle by default uses the same style as PlotStyle:
ListPolarPlot is a special case of ListPlot:
Use PolarPlot for functions:
Use ListPlot and ListLinePlot for Cartesian plots:
Use ListLogPlot, ListLogLogPlot and ListLogLinearPlot for logarithmic plots:
Use DateListPlot to show data over time:
Use ListPointPlot3D to show three-dimensional points:
Use ListPlot3D to create surfaces from data:
Use ListContourPlot to create contours from continuous data:
Use ListDensityPlot to create densities from continuous data:
Use ArrayPlot and MatrixPlot for arrays of discrete values:
Use RevolutionPlot3D and SphericalPlot3D for cylindrical and spherical coordinates:
Use ParametricPlot for parametric curves:
Parametrized butterflies:
New in 6 | Last modified in 7
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team