Get/set geoglobe view angle

6 views (last 30 days)
scivision
scivision on 3 May 2024
Answered: Gayathri on 5 Jun 2025
With non-GeographicAxes, camva() can be used to get/set camera viewing angle. This doesn't seem possible for uifigure+geoglobe figures. Is there a way to at least get the viewing angle? The purpose is to simulate what a camera with a particular lens would see.
  6 Comments
Benjamin Lane
Benjamin Lane on 29 May 2024
The angular field of view of the camera is not the same thing as the height of the camera. Please see 'camva' and associated documentation for explanaition of what were looking for. The geoglobe does not currently support this functionality, which is unfortunate.
Wes Baldwin
Wes Baldwin on 27 May 2025
I would also like to see this feature implemented. I don't understand why this was overlooked. camheight cannot reproduce the view angle. The geoglobe map is an amazing feature, but I cannot use it until camva is added. It would likely be an easy add.

Sign in to comment.

Answers (1)

Gayathri
Gayathri on 5 Jun 2025
Below are some of the MATLAB functions that might help to get/set camera viewing angles.
You can also use the "camroll" function to rotate the camera about view axis.

Tags

Products


Release

R2024a

Community Treasure Hunt

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

Start Hunting!