MATLAB Answers

how to display scatter in GUI?

5 views (last 30 days)
Muhammad RSMY
Muhammad RSMY on 28 Feb 2018
Edited: Muhammad RSMY on 28 Feb 2018
hi guys
please need help, how to disply 3D scatter in GUI


Sign in to comment.

Answers (1)

Tamir Suliman
Tamir Suliman on 28 Feb 2018
do you need to plot it use the scatter3 command please post your code Reference below :

  1 Comment

Muhammad RSMY
Muhammad RSMY on 28 Feb 2018
Thanks for your comment Tamir Suliman
the code is working fine to display scatter3, but the problem when I built GUI its give an error
here is code
D = indata{1};
out3 = reshape(D,[mm,nn,k]);
idx = find(out3);
[X, Y, Z] = ind2sub(size(out3), idx);
pointsize = 40;
scatter3(X(:), Y(:), Z(:), pointsize, out3(idx),'square','filled');
colormap jet

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!