LInking two independent axes in 3D
Show older comments
I have defined two overlapping 3D axes in a figure. In the first, I have a 2D image. In the second axes, a 3D model. I have defined axis square, and the camera view angle (camva) for the two axes to be the same.
I want to be able to change the camera position of the image so that I can zoom in on it. I then want to created a second figure and redraw both axes such that the camera of the 2D images is in it's starting position (not zoomed in) and the camera position of the 3D model is adjusted to shrink the model by the amount that the CXR was zoomed.
I have made the camva equal for both axes but I can't seem to figure out how to link the scale on the two axes to achieve this effect. The zlim on both axis is the same and I have perspective set to orthogonal.
If anyone could assist with this, I'd greatly appreciate it.
Accepted Answer
More Answers (0)
Categories
Find more on Camera Views in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!