Unable to get polarbubblechart to show all equal diameter bubbles

I am unable to get "polarbubblechart" to have 3 bubbles all have the same correct size.
All the same size are always are big and unusable. If any one is different the plot is unusable. I need to have all bubbles the same size and controllable. See code below.
What am I missing?
ra = 1
ra = 1
x = pi*ra^2
x = 3.1416
theta = [0 pi/4 pi/2]
theta = 1×3
0 0.7854 1.5708
<mw-icon class=""></mw-icon>
<mw-icon class=""></mw-icon>
theta = theta.'
theta = 3×1
0 0.7854 1.5708
<mw-icon class=""></mw-icon>
<mw-icon class=""></mw-icon>
rho = [10; 10; 10]
rho = 3×1
10 10 10
<mw-icon class=""></mw-icon>
<mw-icon class=""></mw-icon>
sz = [x x x]
sz = 1×3
3.1416 3.1416 3.1416
<mw-icon class=""></mw-icon>
<mw-icon class=""></mw-icon>
%h.SizeData = sz
h = polarbubblechart(theta,rho,sz)
h =
BubbleChart with properties: MarkerEdgeColor: 'flat' MarkerFaceColor: 'flat' LineWidth: 0.5000 ThetaData: [0 0.7854 1.5708] RData: [10 10 10] ZData: [1×0 double] SizeData: [3.1416 3.1416 3.1416] CData: [0.0660 0.4430 0.7450] Use GET to show all properties
h.SizeData = sz
h =
BubbleChart with properties: MarkerEdgeColor: 'flat' MarkerFaceColor: 'flat' LineWidth: 0.5000 ThetaData: [0 0.7854 1.5708] RData: [10 10 10] ZData: [1×0 double] SizeData: [3.1416 3.1416 3.1416] CData: [0.0660 0.4430 0.7450] Use GET to show all properties
ABP = 1
ABP = 1
ra = .5
ra = 0.5000
x = pi*ra^2
x = 0.7854
theta = [0 pi/4 pi/2]
theta = 1×3
0 0.7854 1.5708
<mw-icon class=""></mw-icon>
<mw-icon class=""></mw-icon>
theta = theta.'
theta = 3×1
0 0.7854 1.5708
<mw-icon class=""></mw-icon>
<mw-icon class=""></mw-icon>
rho = [10; 10; 10]
rho = 3×1
10 10 10
<mw-icon class=""></mw-icon>
<mw-icon class=""></mw-icon>
sz = [1 x x]
sz = 1×3
1.0000 0.7854 0.7854
<mw-icon class=""></mw-icon>
<mw-icon class=""></mw-icon>
%h.SizeData = sz
h = polarbubblechart(theta,rho,sz)
h =
BubbleChart with properties: MarkerEdgeColor: 'flat' MarkerFaceColor: 'flat' LineWidth: 0.5000 ThetaData: [0 0.7854 1.5708] RData: [10 10 10] ZData: [1×0 double] SizeData: [1 0.7854 0.7854] CData: [0.0660 0.4430 0.7450] Use GET to show all properties
h.SizeData = sz
h =
BubbleChart with properties: MarkerEdgeColor: 'flat' MarkerFaceColor: 'flat' LineWidth: 0.5000 ThetaData: [0 0.7854 1.5708] RData: [10 10 10] ZData: [1×0 double] SizeData: [1 0.7854 0.7854] CData: [0.0660 0.4430 0.7450] Use GET to show all properties
ABP = 1
ABP = 1

Answers (1)

In the test here, and in testing on my MacOS Intel, all of the bubbles come out the same size, close to 15mm. It is not obvious that they are unusably big.

1 Comment

By the way: the SizeData is relative not absolute. The actual sizes used is determined by a linear mapping of the relative sizes, to the size specified by bubblesize which defaults to [3 50] points

Sign in to comment.

Products

Release

R2025b

Asked:

on 14 Feb 2026

Moved:

on 14 Feb 2026

Community Treasure Hunt

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

Start Hunting!