Lock figure axes/position

27 次查看(过去 30 天)
Hi folks,
I have a GUI which creates a figure. By clicking a button, the figure got zoomed in on a special point selected. I want the figure to be locked on that position so that the user can't change the position. All I want to allow the user is to rotate on that specific position but noch change the values of x,y,z.
Is there a way to lock/fix the position?
Thanks in advance.

采纳的回答

Dominik Müller
Dominik Müller 2020-10-1
I solved the problem with the axtoolbar command. The pan option is still available on the menubar, but no longer on the toolbar.
I followed this link: Control Chart Interactivity

更多回答(1 个)

Mario Malic
Mario Malic 2020-9-30
Here is a question with two answers that will help.
This is the option rotateInteraction.
  2 个评论
Dominik Müller
Dominik Müller 2020-10-1
编辑:Dominik Müller 2020-10-1
Thanks for your answer. But this is not exactly what I'm looking for.
I solved the problem with the axtoolbar command. The pan option is still available on the menubar, but no longer on the toolbar.
I followed this link: Control Chart Interactivity
Mario Malic
Mario Malic 2020-10-1
编辑:Mario Malic 2020-10-1
Move your comment to the answer section and accept it, thanks in advance.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Visual Exploration 的更多信息

产品


版本

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by