LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

3D Graph How to avoid pixel interpolation?

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 this thread the guy faced the same but the suggested solution does something different.

Message Edited by ceties on 08-14-2008 10:51 AM
LV 2011, Win7
0 Kudos
Message 1 of 5
(2,949 Views)

If you really want to use this graph you can do as follows:

- right-click the 3D graph

- Select CWGraph3D -> Properties...

- In the main tab select "Plots"

- In the "Style" subtab set "Plot style" to "Point"

- In the "Point" subtab set "Style" to "Solid Square" and Size to 13

 

The size must be adjusted when zooming. You can adjust the properties using ActiveX properties.

 

Hope this helps

Daniel

 

Message 2 of 5
(2,941 Views)

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
LV 2011, Win7
0 Kudos
Message 3 of 5
(2,930 Views)

Hi ceties

 

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 "walls"? This would probably also look a bit strange in 3D (similar to point style with cubes).

 

Daniel

 

0 Kudos
Message 4 of 5
(2,918 Views)

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...)

 

 

Message Edited by ceties on 08-14-2008 12:21 PM
LV 2011, Win7
Download All
0 Kudos
Message 5 of 5
(2,906 Views)