Function Repository Resource:

PolarBubblePlot

Source Notebook

Plot data as bubbles on polar axes

Contributed by: Arnoud Buzing

ResourceFunction["PolarBubblePlot"][{{angle1,r1,size1},}]

plots bubbles at positions anglei,ri with sizes sizei in a polar plot..

Details

The angle is given in radians.
The r is a positive real number.
The size value determines the size of the bubble.
The output is an Image.
This function encapsulates Python functionality.

Examples

Basic Examples

Create a simple polar bubble plot for increasing angles, radii and size:

In[1]:=
ResourceFunction["PolarBubblePlot"][
 Table[{\[Alpha], \[Alpha], 40 \[Alpha]}, {\[Alpha], 0, 3 \[Pi], \[Pi]/10}]]
Out[1]=

Create a polar bubble plot with random data:

In[2]:=
n = 100;
In[3]:=
data = Transpose[{
    RandomReal[{0, 2 \[Pi]}, n],
    RandomReal[{0, 1}, n],
    RandomReal[{10, 800}, n]
    }];
In[4]:=
ResourceFunction["PolarBubblePlot"][data]
Out[4]=

Publisher

Arnoud Buzing

Version History

  • 1.0.0 – 30 October 2024

Related Resources

License Information