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 Center および File ExchangeScatter Plots についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by