Unable to get polarbubblechart to show all equal diameter bubbles
Ältere Kommentare anzeigen
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
x = pi*ra^2
theta = [0 pi/4 pi/2]
theta = theta.'
rho = [10; 10; 10]
sz = [x x x]
%h.SizeData = sz
h = polarbubblechart(theta,rho,sz)
h.SizeData = sz
ABP = 1
ra = .5
x = pi*ra^2
theta = [0 pi/4 pi/2]
theta = theta.'
rho = [10; 10; 10]
sz = [1 x x]
%h.SizeData = sz
h = polarbubblechart(theta,rho,sz)
h.SizeData = sz
ABP = 1
Antworten (1)
Walter Roberson
am 14 Feb. 2026
Verschoben: Walter Roberson
am 14 Feb. 2026
0 Stimmen
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 Kommentar
Walter Roberson
am 14 Feb. 2026
Verschoben: Walter Roberson
am 14 Feb. 2026
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
Kategorien
Mehr zu Image Arithmetic finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

