Children of scatterplot
古いコメントを表示
Hello everyone, its me again trying to use the scatter plot
It looks like if the number of points exceeds 100, you cannot get access to scatterplot children.
Here is the piece of code:
[EDIT (formatted code) -- the cyclist]
%------------------------------------------------
nP=100;
x=rand(nP,1);
y=rand(nP,1);
h=scatter(x,y,64,1:nP);
points=get(h,'Children');
numel(points)
%----------------------------------------------
If nP<=100 the code above gives the correct number of children. Otherwise it gives only ONE child, which has no children of its own.
Is this another undocumented feature? Or am I doing something wrong?
Thanks,
Naum Derzhi
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Graphics Performance についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!