PolarGridLines

PolarGridLines

is an option for sector charts and polar plots that specifies polar grid lines.

Details

  • Polar grid lines can be both radial and angular.
  • The following settings can be given for PolarGridLines:
  • Noneno grid lines drawn
    Automaticgrid lines placed automatically
    {radial,angular}grid lines specified separately in each direction
  • With the Automatic setting, grid lines are usually placed at points whose coordinates have the minimum number of digits in their decimal representation.
  • For each direction, the following grid line options can be given:
  • Noneno grid lines drawn
    Automaticgrid line positions chosen automatically
    {t1,t2,}grid lines drawn at the specified positions
    {{t1,style1},}grid lines with specified styles
    funca function to be applied to tmin, tmax to get the grid line option
  • The positions of radial grid lines are specified by angles in radians, measured counterclockwise from the positive axis.
  • Grid line styles can involve any graphics directives, such as RGBColor and Thickness.
  • The grid line function func[tmin,tmax] may return any other grid line option.
  • GridLinesStyle gives default styles to use for grid lines.

Examples

open allclose all

Basic Examples  (4)

Use automatically chosen polar grid lines:

Draw grid lines at the specified positions:

Specify polar grid styles:

Specify overall grid line style, using GridLinesStyle:

Scope  (7)

PolarGridLines Positions  (4)

Place the polar grids automatically:

Place grid lines in angular direction:

Place grid lines in radial direction:

For sector charts draw grid lines tangent to sector angles:

For sector charts draw grid lines tangent to sector radius:

For sector charts draw grid lines tangent to sector boundaries:

PolarGridLines Styling  (3)

Specify the style of each grid line:

Specify overall grid line style, using GridLinesStyle:

Individually styled polar grid lines can be used with GridLinesStyle, and have higher priority:

Generalizations & Extensions  (1)

Specify a grid function applied to tmin and tmax values in each direction:

Introduced in 2008
 (7.0)