01-25-2011 04:40 PM
Hello All,
I have 10 sets of x, y, z values that I want to plot into a 3-dimensional surface plot. The following are the x,y,z values that should yield 10 points and these are the 10 points I want to connect to create a 3D surface. Can anyone show/tell me what the easiest and simplest way to achieve this? Any help is much appreciated - Thanks!
Data points (x, y, z)
Data point #1 = (-2.49472, -3.1003, -1.51973)
Data point #2 = (-0.53762, -1.86876, -1.18759)
Data point #3 = (-2.15848, -0.21903, 0.085261)
Data point #4 = (-0.5627, 0.113979, -0.88127)
Data point #5 = (-0.20712, -0.30988, 0.507041)
Data point #6 = (1.09717, -0.50019, 0.851337)
Data point #7 = (-0.19076, 1.6977, -0.2325)
Data point #8 = (3.30511, 0.495494, 0.231649)
Data point #9 = (-0.09863, 2.08208, 0.979535)
Data point #10 = (1.84774, 1.61482, 1.16626)
-noviceLabVIEWuser
01-27-2011 03:52 PM
Hi noviceLabVIEWuser,
There's an example of how to do this in the LabVIEW Help, here: http://zone.ni.com/reference/en-XX/help/371361G-01/lvhowto/plot_x_y_x_3dgraph/.
There are a few different 3D surface plots, but it looks like this has the easiest format for the data you're working with. Here's what I put together:
Morgan S
Applications Engineer
National Instruments
01-27-2011 04:12 PM
Very Nice! Thanks MorganS! So how can I modify this VI to add another set of surface data points so that the VI displays 2 different surfaces (and different colors) in one 3D plot?
Thanks again!
-noviceLabVIEWuser
01-27-2011 04:46 PM
Good question! Looks like you can add plots like this:
In this case, they're the same color, but poke around in the other properties and methods for this control, and I bet you'll find a way to change the color and lots of other things.
Morgan S
Applications Engineer
National Instruments
10-27-2021 06:44 AM
Hi,
I am using LabVIEW 2019 (64 bit) .I am trying to plot 3 points in 3Dsurface graph. I couldnot follow the way u said, I couldnot find it in 64bit. is there any other way?