How to select a point on 3D plot and the same point should be highlighted in the 2D plot as well in the Matlab GUI?
이전 댓글 표시
I have a GUI in Matlab with two graphs. One is the 3D plot which is using the scatter3 and the 2D plot which is using gplotmatrix. Both the plots have the same x,y and z axis. I am using R2018b version.
Query 1: I want to select a point on the 3D plot and also the same point should get selected in the 2D plot. Is there any code to link both the graphs in a GUI?
Query 2: Also, when I select a point in the 3D plot, I want the lines connected from the selected point to x axis, y axis and z axis respectively. And when I select another point from the 3D plot, the previous lines should get deleted and new lines should be formed from the newly selected point to x axis, y axis and z axis respectively.
댓글 수: 4
Irene Eliza Thomas
2020년 3월 12일
편집: Irene Eliza Thomas
2020년 3월 12일
Luna
2020년 3월 13일
Irene Eliza Thomas
2020년 3월 13일
편집: Irene Eliza Thomas
2020년 3월 13일
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 White에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
