How do I make a bubble(s) with different size matrices
1 次查看(过去 30 天)
显示 更早的评论
Hi to all,
Is it possible to make an irregular shape bubble or bubbles with different size matrices?
Is there any function to do that?
I have this inputs:
x = 1:360;
y = 1:180;
z = 180:360
I will also need a different colors of bubbles beacuse I have several "z" values but the "x" and "y" are always the same values.
Thank you in advance.
0 个评论
回答(1 个)
Sulaymon Eshkabilov
2021-6-19
Solution is bubblechart3()
x = 1:360;
y =linspace(1,180,360); % Size of y has to macth with the one of x
z = randi([180, 360], 1, 360); % The same for z
SZ = randi([180, 360],1,360); % Size change has to be equal to the one of x, y, z
Color=1:360; % Color change
bubblechart3(x,y,z,SZ, Color);
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Data Distribution Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!