<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/237367</link>
    <title>MATLAB Central Newsreader - 3d plots of lines and points hard to read</title>
    <description>Feed for thread: 3d plots of lines and points hard to read</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>Sat, 11 Oct 2008 13:07:01 -0400</pubDate>
      <title>3d plots of lines and points hard to read</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/237367#604758</link>
      <author>David Doria</author>
      <description>Is there a way to get a bit of &quot;depth perception&quot; in matlab? ie if i plot some primitives like lines and points, I can't really tell where they are unless I rotate the plot around for a while.  Is there something like shadows or something that can be turned on to give at least some sense of depth instead of just green pixels on a white background, which are very ambiguous?&lt;br&gt;
&lt;br&gt;
Anyone have a good way to do this?&lt;br&gt;
&lt;br&gt;
Thanks,&lt;br&gt;
Dave</description>
    </item>
    <item>
      <pubDate>Sat, 11 Oct 2008 22:09:57 -0400</pubDate>
      <title>Re: 3d plots of lines and points hard to read</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/237367#604799</link>
      <author>Walter Roberson</author>
      <description>David Doria wrote:&lt;br&gt;
&amp;gt; Is there a way to get a bit of &quot;depth perception&quot; in matlab? ie if i plot some primitives&lt;br&gt;
&amp;gt; like lines and points,&lt;br&gt;
&lt;br&gt;
Lighting only applies to surface and patch objects, not to lines and points. You could&lt;br&gt;
try the hack of replacing your lines and points with patch objects that retrace back&lt;br&gt;
on themselves to be infinitely thin; I wouldn't be especially hopeful about that approach&lt;br&gt;
though.&lt;br&gt;
&lt;br&gt;
&amp;gt; I can't really tell where they are unless I rotate the plot around for a while.&lt;br&gt;
&amp;gt; Is there something like shadows or something that can be turned on to give at least&lt;br&gt;
&amp;gt; some sense of depth instead of just green pixels on a white background, which are very ambiguous?&lt;br&gt;
&lt;br&gt;
You should be able to set a 3D plot to have perspective by changing the axes Camera*&lt;br&gt;
properties (I think)... but sometimes that just isn't enough.&lt;br&gt;
&lt;br&gt;
You can't do colour interpolation on any one line or lineseries object; you either use&lt;br&gt;
patches (as mentioned above) or you break your line or lineseries object up into&lt;br&gt;
segments and colour the segments.</description>
    </item>
    <item>
      <pubDate>Sun, 12 Oct 2008 01:13:02 -0400</pubDate>
      <title>Re: 3d plots of lines and points hard to read</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/237367#604815</link>
      <author>Wolfgang Schwanghart</author>
      <description>You might find this useful&lt;br&gt;
&lt;a href=&quot;http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=21116&amp;objectType=file&quot;&gt;http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=21116&amp;objectType=file&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
Another way to get an impression of depth may be using stem3&lt;br&gt;
&lt;br&gt;
Best, &lt;br&gt;
Wolfgang&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
Walter Roberson &amp;lt;roberson@hushmail.com&amp;gt; wrote in message &amp;lt;Pu9Ik.1875$eB2.209@newsfe19.iad&amp;gt;...&lt;br&gt;
&amp;gt; David Doria wrote:&lt;br&gt;
&amp;gt; &amp;gt; Is there a way to get a bit of &quot;depth perception&quot; in matlab? ie if i plot some primitives&lt;br&gt;
&amp;gt; &amp;gt; like lines and points,&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Lighting only applies to surface and patch objects, not to lines and points. You could&lt;br&gt;
&amp;gt; try the hack of replacing your lines and points with patch objects that retrace back&lt;br&gt;
&amp;gt; on themselves to be infinitely thin; I wouldn't be especially hopeful about that approach&lt;br&gt;
&amp;gt; though.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; I can't really tell where they are unless I rotate the plot around for a while.&lt;br&gt;
&amp;gt; &amp;gt; Is there something like shadows or something that can be turned on to give at least&lt;br&gt;
&amp;gt; &amp;gt; some sense of depth instead of just green pixels on a white background, which are very ambiguous?&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; You should be able to set a 3D plot to have perspective by changing the axes Camera*&lt;br&gt;
&amp;gt; properties (I think)... but sometimes that just isn't enough.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; You can't do colour interpolation on any one line or lineseries object; you either use&lt;br&gt;
&amp;gt; patches (as mentioned above) or you break your line or lineseries object up into&lt;br&gt;
&amp;gt; segments and colour the segments.</description>
    </item>
  </channel>
</rss>

