Scatter plot with different marker sizes and text labels(overlapping)
4 ビュー (過去 30 日間)
古いコメントを表示
Hi all , I'm trying to generate a scatter plot about classifiers with 2 cohorts. I want to show different marker sizes if i have overlap in some points. e.g . we have 10 samples of the first group in [1,1] and 5 from the second group at [1,1]. I have solved this giving different size to the markers and putting text top-right for a group and bottom-left to the other one. I'm trying to sum displacement of the biggest marker in a same point, so the text does not overlay the data points but I can't manage how to do it .Can somebody help me? Thank youuu

That's what i'm doing ( i don't know how to calculate the displacement) currH = scatter(x,y ,tm ,sCol{i},sShape{i}); h1 = text(x+dx, y+dy, labels, 'horizontal',hor{i}, 'vertical',ver{i},'FontSize',8,'Color',nColor{i},'FontWeight' , 'bold');
0 件のコメント
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Scatter Plots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!