フィルターのクリア

Info

この質問は閉じられています。 編集または回答するには再度開いてください。

How can a show the correct view of graphical objects??

1 回表示 (過去 30 日間)
David Winthrop
David Winthrop 2017 年 10 月 19 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
I am trying to make an animation, and I noticed that the camera DOES NOT show what it should show. How can I fix this?
I make a unit circle, and place the camera directly above the central point and set the camera target to a far away location outside the circle with a narrow field of view. Obviously, from this view I should not see the entire circle, but I do.
PLEASE ANY ADVICE!?
t = linspace(0,pi,100);
x = cos(t);
y = sin(t);
plot3(x,y,zeros(size(x)))
hold on
plot3(-x,-y,zeros(size(x)))
set(gca,'cameraposition',[0,0,1])
set(gca,'cameratarget',[10,0,0])
set(gca,'cameraviewangle',25)
xlabel('x')
ylabel('y')

回答 (1 件)

David Winthrop
David Winthrop 2017 年 10 月 19 日
Since I have asked this question twice and nobody has commented, I think it is safe to assume nobody knows or it is a bug nobody wants to talk about.
In that case, can anyone recommend if Octave handles camera view correctly? What about python?
Thanks
  4 件のコメント
Walter Roberson
Walter Roberson 2017 年 10 月 20 日
R2017b view looks fine.
Kelly Kearney
Kelly Kearney 2017 年 10 月 20 日
I'm running 2016b.

この質問は閉じられています。

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by