histogram2Polar

Bivariate histogram plot from polar coordinates / position vectors in MATLAB.

https://github.com/zifredder/histogram2Polar

You are now following this Submission

Bivariate histogram plot from polar coordinates / position vectors.
Esentially, the coordinates are converted to cartesian coordinates and fed to
HISTOGRAM2. A polar-coordinate grid is then drawn in order to mimic a polar plot.
The properties and methods of this class are intended to mimic a polar plot like it
is created by POLARAXES and properties with the same name, such as 'ThetaDir', mimic
the behavior of a real POLARAXES. Note that this has limitations and might not work
flawlessly. Properties may be specified via Name-Value pairs during plot
construction or set post-hoc using dot-notation or set(obj, param, val). HISTOGRAM2
is called with the parameters {'DisplayStyle', 'tile', 'ShowEmptyBins', 'off',
'EdgeColor', 'none'}, which can be overridden by specifying the respective
Name-Value pairs during plot creation or by accessing the returned object's property
'Histogram'. Optional Name-Value pairs of this function support those specified
below and all Name-Value pairs as accepted by HISTOGRAM2.

Syntax:

histogram2Polar(theta, rho);
histogram2Polar(theta, rho, binWidth);
histogram2Polar(theta, rho, binWidth, Name, Value);
histogram2Polar(target, ___);
h = histogram2Polar(___);

[...] (See documentation and GitHub repository)

Cite As

Frederick Zittrell (2026). histogram2Polar (https://github.com/zifredder/histogram2Polar), GitHub. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with R2017a and later releases

Platform Compatibility

  • Windows
  • macOS
  • Linux

Versions that use the GitHub default branch cannot be downloaded

Version Published Release Notes Action
1.0.2

Update required MATLAB version.

1.0.1

Update description

1.0.0

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.