When brushing 3-d scatter, why does the marker not change?

1 回表示 (過去 30 日間)
zitongz
zitongz 2016 年 6 月 2 日
コメント済み: zitongz 2016 年 6 月 2 日
Dear all,
I might have missed some old threads but I'm rather stuck with this issue now. I'm accessing brushed data in a GUI with a 2-d scatter and a 3-d scatter. I can get the brushed data and play with them. But the brushed data points in the 3-d scatter does not change their marker color whereas brushed points in the 2-d scatter will.
I've tried some simply code (see below) and it's the same: markers change colour in 2-d scatter but not 3-d. I wonder if this is some inherent feature of brush(). Is there any way that I can change this behaviour?
figure();
scatter(rand([10, 1]), rand([10, 1]));
brush on;
figure();
scatter3(rand([10, 1]), rand([10, 1]), rand([10, 1]));
brush on;
Many thanks!
Zitong

採用された回答

Duncan Po
Duncan Po 2016 年 6 月 2 日
Are you using R2014b? There is a bug in that version. Good news is it is fixed in 15a, so if you update, brushing on scatter3 will work again.
  1 件のコメント
zitongz
zitongz 2016 年 6 月 2 日
Hi Duncan,
Thanks a lot for the answer. I've tried it on a colleague's computer with 2016 and it's working fine.
Cheers,
Zitong

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeCreating and Concatenating Matrices についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by