- bubblesize : https://www.mathworks.com/help/matlab/ref/bubblesize.html
- bubblechart3 : https://www.mathworks.com/help/matlab/ref/bubblechart3.html
setting size vector with same small numbers in bubblechart3 does not work?
조회 수: 2 (최근 30일)
이전 댓글 표시
hi
trying to set constant small buble size in bubblechart3 - vector s(:) - does change anything..
help will greatly appreciated.
thanks
mat
댓글 수: 0
답변 (1개)
Hornett
2023년 9월 27일
편집: Hornett
2023년 9월 27일
I understand that you are trying to make constant size bubble in bubblechart3.
The size parameter in “bubblechart3” does the relative sizing of bubbles, hence if you give all sizes same you will have large bubbles, which will not change based on your constant value.
To make the bubble size constant and make them smaller you can use "bubblesize" function in MATLAB.
Here is the sample code for achieving constant sized bubbles in “bubblechart3”:
x = rand(1,20);
y = rand(1,20);
z = rand(1,20);
sz = ones(20);
bubblechart3(x,y,z,sz);
bubblesize([1,5]);
For more details you can refer to following documentation:
I hope this information resolves your query.
댓글 수: 0
참고 항목
카테고리
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!