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?
6 次查看(过去 30 天)
显示 更早的评论
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.
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Data Distribution Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
