How to rescale the size of points in scatter plot?

조회 수: 7 (최근 30일)
Karolina
Karolina 2017년 1월 6일
댓글: KSSV 2017년 1월 6일
I generated scatter plot for four variables where one variable specify the size of dots. However, all dots are to small. How to increase the size (e.g. twice bigger dots) of all dots automatically?
scatter(A,B,C,D,'filled','MarkerFaceAlpha',.5);

채택된 답변

KSSV
KSSV 2017년 1월 6일
scatter(A,B,C,D,n,'filled','MarkerFaceAlpha',.5);
where n is size of the marker....specify the size you want..
  댓글 수: 4
Karolina
Karolina 2017년 1월 6일
Thank you for your answer, but this not what I am asking. I do not want to have all dots with the same size. As I mentioned in my post I have variable 'C' which specify the size of my dots. However, even the biggest dots are to small and I want to enlarge all dots with the same scale, e.g. to make them twice bigger than they are now.
KSSV
KSSV 2017년 1월 6일
Multiply your variable size data with a constant number.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Scatter Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by