hi guys
please need help, how to disply 3D scatter in GUI
Thanks

답변 (1개)

Tamir Suliman
Tamir Suliman 2018년 2월 28일

0 개 추천

do you need to plot it use the scatter3 command please post your code Reference below :
https://www.mathworks.com/help/matlab/ref/scatter3.html

댓글 수: 1

Muhammad RSMY
Muhammad RSMY 2018년 2월 28일
편집: Muhammad RSMY 2018년 2월 28일
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
colorbar

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Scatter Plots에 대해 자세히 알아보기

태그

질문:

2018년 2월 28일

편집:

2018년 2월 28일

Community Treasure Hunt

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

Start Hunting!

Translated by