histcounts() function but for polarhistogram()

Hi.
I'm using polarhistogram() to plot points distribution on polar coordinate. How do I calculate the distribution without plotting? If histogram() has its histcounts() to do just that, what about polarhistogram() ? There's such function called polarhistcounts() right?

 Respuesta aceptada

Walter Roberson
Walter Roberson el 23 de En. de 2019

0 votos

polarhistogram() configures a polar axes and then invokes histogram().
histogram() sets up properties and calls @Histogram/Histogram.p which we cannot see the source of.
How Histogram.p works is a mystery.
There does not appear to be any polarhistogram()

Más respuestas (1)

Jerome Beetz
Jerome Beetz el 1 de Mzo. de 2022

0 votos

histcounts() should do the job without plotting.
note, values must be inserted as "rad" not "degrees"

Categorías

Más información sobre Polar Plots en Centro de ayuda y File Exchange.

Productos

Etiquetas

Preguntada:

el 23 de En. de 2019

Respondida:

el 1 de Mzo. de 2022

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by