RadialAxisPlot
RadialAxisPlot[{y1,y2,…,yn}]
generates a radial axis plot where the yi are displayed on radial axes equally spaced around the origin.
RadialAxisPlot[{data1,data2,…}]
plots several datasets datai on the axes.
Details and Options
- RadialAxisPlot is also known as radar plot, spider chart or star plot.
- RadialAxisPlot is used to visualize multidimensional data by mapping each dimension to an axis, creating a unique shape. The shapes for different data points can then be compared with each other.
- The data values yi can be given in the following forms:
-
yi a real-valued number Quantity[yi,unit] a quantity with a unit - Values yi that are not of the forms previously shown are taken to be missing and are not shown.
- The datai have the following forms and interpretations:
-
<"k1"y1,"k2"y2,… > values {y1,y2,…} {y1"lbl1",y2"lbl2",…}, {y1,y2,…}{"lbl1","lbl2",…} values {y1,y2,…} with labels {lbl1,lbl2,…} SparseArray values as a normal array TimeSeries,EventSeries,… values from time series data QuantityArray magnitudes WeightedData unweighted values - The following wrappers w can be used for the datai:
-
Annotation[datai,label] provide an annotation for the data Button[datai,action] define an action to execute when the data is clicked Callout[datai,label] label the data with a callout Callout[datai,label,pos] place the callout at relative position pos EventHandler[datai,events] define a general event handler for the data Hyperlink[datai,uri] make the data a hyperlink Labeled[datai,label] label the data Labeled[datai,label,pos] place the label at relative position pos Legended[datai,label] identify the data in a legend PopupWindow[datai,cont] attach a popup window to the data StatusArea[datai,label] display in the status area on mouseover Style[datai,styles] show the data using the specified styles Tooltip[datai,label] attach a tooltip to the curve - Wrappers w can be applied at multiple levels:
-
{…,w[yi],…} wrap the value yi in data {…,w[{xi,yi}],…} wrap the point {xi,yi} w[datai] wrap the data w[{data1,…}] wrap a collection of datai w1[w2[…]] use nested wrappers - Callout, Labeled and Placed can use the following positions pos:
-
Automatic automatically placed labels Above, Below, Before, After positions around the curve "Inside","Outside" relative to the point along the axis {pos,epos} epos in label placed at relative position pos of the curve - RadialAxisPlot has the same options as Graphics, with the following additions and changes: [List of all options]
-
Axes True whether to draw axes AxesOrigin Automatic where to position the axes ColorFunction Automatic how to determine the coloring of lines ColorFunctionScaling True whether to scale arguments to ColorFunction Filling True filling under each line FillingStyle Automatic style to use for filling GridLines Automatic whether to draw grid lines GridLinesStyle Automatic style to use for grid lines Joined Automatic whether to join points Method Automatic what method to use PerformanceGoal $PerformanceGoal aspects of performance to try to optimize PlotLayout Automatic how to position data PlotLegends None legends for lines PlotMarkers Automatic markers to use to indicate each point PlotRange Automatic range of values to include PlotStyle Automatic graphics directives to determine the style of each line PlotTheme $PlotTheme overall theme for the plot ScalingFunctions None how to scale individual coordinates - The axes are arranged clockwise starting from the positive y axis.
- By default, all the axes have the same plot range.
- With AxesAutomatic, only the first axis will be shown if all of the axes have the same scale and plot range. If there are any differences, all the axes will be shown.
- With the default setting PlotRangeAutomatic, all the axes use the same plot range.
- PlotRangeAll uses a different plot range for each axis.
- Options that apply to each axis, such as Axes, Ticks and PlotRange, can take the following forms:
-
s use setting s for each axis {s1,…,sn} use per-axis setting s1 for the first axis, etc. {…,pats,…} use setting s for axis positions matching pattern pat - With the form {…,pats,…}, pat can be any pattern. The first pattern that matches an axis position will be used. If no pattern matches an axis position, the default value is used.
- The arguments supplied to ColorFunction are y1,y2,…,yn. By default, the color function arguments are scaled per axis to be between 0 and 1.
- Possible settings for PlotLayout that show multiple points in a single plot panel include:
-
"Overlaid" show all the data overlapping "Stacked" accumulate the data "Percentile" accumulate and normalize the data - Possible settings for PlotLayout that show a single point in multiple plot panels include:
-
"Column" use separate curves in a column of panels "Row" use separate curves in a row of panels {"Column",k},{"Row",k} use k columns or rows {"Column",UpTo[k]},{"Row",UpTo[k]} use at most k columns or rows -
AlignmentPoint Center the default point in the graphic to align with AspectRatio Automatic ratio of height to width Axes True whether to draw axes AxesLabel None axes labels AxesOrigin Automatic where to position the axes AxesStyle {} style specifications for the axes Background None background color for the plot BaselinePosition Automatic how to align with a surrounding text baseline BaseStyle {} base style specifications for the graphic ColorFunction Automatic how to determine the coloring of lines ColorFunctionScaling True whether to scale arguments to ColorFunction ContentSelectable Automatic whether to allow contents to be selected CoordinatesToolOptions Automatic detailed behavior of the coordinates tool Epilog {} primitives rendered after the main plot Filling True filling under each line FillingStyle Automatic style to use for filling FormatType TraditionalForm the default format type for text Frame False whether to put a frame around the plot FrameLabel None frame labels FrameStyle {} style specifications for the frame FrameTicks Automatic frame ticks FrameTicksStyle {} style specifications for frame ticks GridLines Automatic whether to draw grid lines GridLinesStyle Automatic style to use for grid lines ImageMargins 0. the margins to leave around the graphic ImagePadding All what extra padding to allow for labels etc. ImageSize Automatic the absolute size at which to render the graphic Joined Automatic whether to join points LabelStyle {} style specifications for labels Method Automatic what method to use PerformanceGoal $PerformanceGoal aspects of performance to try to optimize PlotLabel None an overall label for the plot PlotLayout Automatic how to position data PlotLegends None legends for lines PlotMarkers Automatic markers to use to indicate each point PlotRange Automatic range of values to include PlotRangeClipping False whether to clip at the plot range PlotRangePadding Automatic how much to pad the range of values PlotRegion Automatic the final display region to be filled PlotStyle Automatic graphics directives to determine the style of each line PlotTheme $PlotTheme overall theme for the plot PreserveImageOptions Automatic whether to preserve image options when displaying new versions of the same graphic Prolog {} primitives rendered before the main plot RotateLabel True whether to rotate y labels on the frame ScalingFunctions None how to scale individual coordinates Ticks Automatic axes ticks TicksStyle {} style specifications for axes ticks
List of all options
Examples
open allclose allBasic Examples (3)
Use ColorFunction to style lines by the values on the first axis:
Scope (22)
General Data (6)
RadialAxisPlot visualize multidimensional data by placing each dimension on an axis with a shared origin:
Automatic PlotRange shows every axis in the same range:
PlotRangeAll shows every axis in its own range:
Special Data (2)
Use Quantity to include units with the data:
Plot the values in TimeSeries:
Keys in Association are automatically used as axes labels:
Data Wrapper (4)
Use wrappers on datasets or collections of datasets:
Use PopupWindow to provide additional drilldown information:
Button can be used to trigger any action:
Labeling and Legending (6)
Use LabelingFunction to add individual labels to each dataset:
Use the index of datasets provided to LabelingFunction to construct labels:
Use Callout to add a label:
Use PlotLegends to add a bar legend to represent the colors from ColorFunction:
Use legends to identify the color groups:
Use Legended to add a legend:
Options (41)
Axes (4)
AxesOrigin (4)
ColorFunction (1)
Filling (6)
GridLines (3)
PlotLayout (4)
PlotMarkers (2)
PlotRange (3)
PlotRangePadding (4)
Applications (1)
RadialAxisPlot is naturally great at visualizing sports stats. For example, visualize the performance of the NBA players for the whole 2018–2019 season:
Filter out players who did not play very much:
Pick the following five stats to visualize:
Find the mean values of these five stats:
Use Manipulate to create an interface to toggle through each player and use RadialAxisPlot to visualize their performance compared to the averages:
Properties & Relations (4)
RadialAxisPlot plots multidimensional points on multiple radial axes:
ListPolarPlot plots multiple points on a polar axis:
ParallelAxisPlot plots multidimensional points on multiple parallel axes:
RadialAxisPlot displays a single point using multiple axes:
AngularGauge plots multiple values on a single axis:
PieChart displays values as parts of a whole:
Neat Examples (1)
Use RadialGradientFilling to create a highly stylized filling:
Text
Wolfram Research (2020), RadialAxisPlot, Wolfram Language function, https://reference.wolfram.com/language/ref/RadialAxisPlot.html.
CMS
Wolfram Language. 2020. "RadialAxisPlot." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/RadialAxisPlot.html.
APA
Wolfram Language. (2020). RadialAxisPlot. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/RadialAxisPlot.html