<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/252952</link>
    <title>MATLAB Central Newsreader - 3D plot problem</title>
    <description>Feed for thread: 3D plot problem</description>
    <language>en-us</language>
    <copyright>&amp;copy;1994-2012 by MathWorks, Inc.</copyright>
    <webmaster>webmaster@mathworks.com</webmaster>
    <generator>MATLAB Central Newsreader</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <ttl>60</ttl>
    <image>
      <title>MathWorks</title>
      <url>http://www.mathworks.com/images/membrane_icon.gif</url>
    </image>
    <item>
      <pubDate>Fri, 05 Jun 2009 07:48:02 -0400</pubDate>
      <title>3D plot problem</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/252952#654850</link>
      <author>Drago Zarkovic</author>
      <description>I made a 3D plot and set cameraposition and target so that only a part of plot is displayed. As soon as I try rotate3d it sets cameraposition so far from a plot that it is shown whole. In earlier versions of Matlab (7.1, 7.0) it was OK, but in 7.7 I have this problem...&lt;br&gt;
&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&lt;br&gt;
figure(1)&lt;br&gt;
plot3([-25 25],[0 0],[0 0],'m')&lt;br&gt;
hold on&lt;br&gt;
plot3([0 0],[-25 25],[0 0],'m')&lt;br&gt;
plot3([0 0],[0 0],[-25 25],'m')&lt;br&gt;
[Xosa,Yosa] = meshgrid(-25:25,-25:25:-25:25);&lt;br&gt;
Zosa=Xosa.*0;&lt;br&gt;
surf(Xosa,Yosa,Zosa,'FaceAlpha',0,'LineStyle',':')&lt;br&gt;
set(gca,'CameraPosition',[5 5 5],'CameraTarget',[0 0 0],'CameraUpVector',[0 0 1],'CameraViewAngle',45,'Projection','perspective')&lt;br&gt;
rotate3d&lt;br&gt;
&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&lt;br&gt;
I want camera to stay close...&lt;br&gt;
&lt;br&gt;
Thank you in advance</description>
    </item>
    <item>
      <pubDate>Sat, 06 Jun 2009 05:47:01 -0400</pubDate>
      <title>Re: 3D plot problem</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/252952#655011</link>
      <author>Drago Zarkovic</author>
      <description>When I call camera toolbar and orbit with it it seems to be ok, but rotate3d doesn't work. Is it posible to call camera toolbar comands by code?</description>
    </item>
    <item>
      <pubDate>Sun, 07 Jun 2009 12:22:01 -0400</pubDate>
      <title>Re: 3D plot problem</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/252952#655173</link>
      <author>Drago Zarkovic</author>
      <description>I just found out that rotate3d function sets 'CameraPositionMode' to 'Auto' as soon as I rptate plot. Is it posible to override this?&lt;br&gt;
&lt;br&gt;
Please someone help</description>
    </item>
    <item>
      <pubDate>Sun, 07 Jun 2009 19:20:16 -0400</pubDate>
      <title>Re: 3D plot problem</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/252952#655216</link>
      <author>Drago Zarkovic</author>
      <description>Can someone help please????</description>
    </item>
    <item>
      <pubDate>Mon, 08 Jun 2009 03:55:04 -0400</pubDate>
      <title>Re: 3D plot problem</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/252952#655257</link>
      <author>Sadik </author>
      <description>Have you ever used the function view? Maybe that could help. For instance, if you like a view and want to save it, you say:&lt;br&gt;
&lt;br&gt;
goodView = view;&lt;br&gt;
&lt;br&gt;
Then, when you make another plot and want to use this good view, then you say:&lt;br&gt;
&lt;br&gt;
view(goodView);&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&quot;Drago Zarkovic&quot; &amp;lt;dragozarkovic@yahoo.com&amp;gt; wrote in message &amp;lt;h0h3tg$qfb$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; Can someone help please????</description>
    </item>
  </channel>
</rss>

