ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

3D-graph

Hi Alex,

 

an you possibly save it as a labview 2009 file?

 

best regards

 

KF

0 Kudos
Message 11 of 15
(1,116 Views)

sure,

 

btw: the vi attached is mainly based on the"National Instruments\LabVIEW\examples\analysis\plat-intp2Dxmpl.llb" example.

 

 

 

0 Kudos
Message 12 of 15
(1,104 Views)

Hi,

 

You can see the problem with Alex his example again, I will have to make up data for points in the x-y mesh which are actually not part of my surface, oherwise I will get a skewed picture. For adding colours, Ben's car example gives a start I think:

 

http://forums.ni.com/t5/LabVIEW/3D-graph-to-plot-surface-data/m-p/880161#M398111

 

best regards

 

KF

0 Kudos
Message 13 of 15
(1,092 Views)

thx for the link, in the meantime I re-used Sam Rogers idea, as it's based on a 3d scatter plot:

 

http://forums.ni.com/t5/LabVIEW/How-to-display-4d-data-within-a-3d-scatter-plot/m-p/1402738

 

-----------------------

 

 

 

please explain "irregular shape" --- where's the problem with rectangles?

 

it should be always possible to fit an irregular shape in a rectangular bounding-box;

 

moreover,

when you change  the interpolation method for example to "linear" instead of "nearest" and look at Zi

linear.png

 

 

 

the cell's which are not part of the surface contain NaN

linear_front.png

 

 

 

Regards,
Alex

 

0 Kudos
Message 14 of 15
(1,079 Views)

Hi,

 

I rearranged the data in 2D-arrays to get the correct surface. I added NaN to non existing Z-points. How can i scale the plot? I know I can hit XY, YZ, XZ plane and scale it myself, but if I make the scale smaller, ie 200, you can still see the surface higher than the scales. Is there any control I can add, to atomatically scale it in a proper way.

 

I am trying to get the 4D plot now like Ben

 

Best regards

 

KF 

0 Kudos
Message 15 of 15
(1,057 Views)