フィルターのクリア

question about 'view' function

6 ビュー (過去 30 日間)
Yu Li
Yu Li 2019 年 4 月 25 日
コメント済み: Star Strider 2019 年 4 月 25 日
Hi:
I have a question about 'view' function.
as can be found in the documentation above, the view is determined by two angles. however, even using the same angle, if you look at the object from different distance, the view would still have difference (zoom in/out effect). so, my question is that, does Matlab have anyway to control this distance? or it is a default number?
Thanks!
Yu

採用された回答

Star Strider
Star Strider 2019 年 4 月 25 日
There are a number of options available. One that may do what you want is the 'CameraPosition' (link) axes property. There are several others you can explore that are in the View section of the documentation.
  2 件のコメント
Yu Li
Yu Li 2019 年 4 月 25 日
Thank you. after look through this documentation, looks like the carema position should use [x,y,z] as inputs, and 'view' function need two angles as inputs.
perhaps I need to write some short code to use two angles+distance to control the view.
Thank you very much.
Yu
Star Strider
Star Strider 2019 年 4 月 25 日
My pleasure.
The camera functions allow you to place the camera at whatever distance you choose from the axes (or at least that was true when I last used it a while ago), with respect to the [x y z] coordinates of the axes.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeCamera Views についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by