Discussion:
3D Graph How to avoid pixel interpolation?
(too old to reply)
ceties
2008-08-14 16:10:05 UTC
Permalink
You can see my problem in attached VI. I have 3D graph that represents topography and I would like to use it as an intensity chart but the problem is that there is some interpolation between the pixels so it looks too good which unfortunatelly makes the result useless. So how to switch it off? I think in <a href="http://forums.ni.com/ni/board/message?board.id=231&amp;message.id=1638&amp;query.id=5734#M1638" target="_blank">this</a> thread the guy faced the same but the suggested solution does something different. Message Edited by ceties on 08-14-2008 10:51 AM


loadTopogr.vi:
http://forums.ni.com/ni/attachments/ni/170/349320/1/loadTopogr.vi
dan_u
2008-08-14 16:10:07 UTC
Permalink
If you really want to use this graph you can do as follows:- right-click the 3D graph- Select CWGraph3D -&gt; Properties...- In the main tab select &quot;Plots&quot;- In the &quot;Style&quot; subtab set &quot;Plot style&quot; to &quot;Point&quot;- In the &quot;Point&quot; subtab set &quot;Style&quot; to &quot;Solid Square&quot; and Size to 13&nbsp;The size must be adjusted when zooming. You can adjust the properties using ActiveX properties.&nbsp;Hope this helpsDaniel&nbsp;
ceties
2008-08-14 16:40:05 UTC
Permalink
Hi Dan and thanks for the quick reply. The result is what I wanted but then the 3D Graph doesn't represent the surface structure anymore. Is there any other way how to switch off the interpolation because even in the 3D representation the interpolation is too obvious. And I also didn't understand why I should change the size during zooming...it seems that it's not influenced by that.Message Edited by ceties on 08-14-2008 11:15 AM
dan_u
2008-08-14 16:40:09 UTC
Permalink
Hi ceties&nbsp;Yes, I've seen that too after posting that the zoom doesn't require to change the point size. The problem is as you noticed that it doesn't look as expected if you rotate the view in 3D. I don't know how to change this. Probably solid cubes instead of squares look a bit better in 3D.As soon as you switch from point to surface plot it will interpolate. I don't know how to avoid that.How would you expect it to look? Just like towers with vertical &quot;walls&quot;? This would probably also look a bit strange in 3D (similar to point style with cubes).&nbsp;Daniel&nbsp;
ceties
2008-08-14 17:40:06 UTC
Permalink
I would wish it to work like in Matlab. There if I just use in the 3D graph xy view it looks as expected (more or less...)&nbsp;&nbsp;Message Edited by ceties on 08-14-2008 12:21 PM


3d.PNG:
Loading Image...


3d2d.PNG:
Loading Image...

Loading...