LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

3D mesh or 3D Surface

Hi,
I need some help with the following:
I want to plot x, y, z data (sets of points). When I use the 3D mesh, it is not as flat as I want. However, when I use the 3D-surface the plot is very nice but the x-value becomes constant. How can I solve this problem?

Thank you,

Download All
0 Kudos
Message 1 of 7
(5,256 Views)

If you want to draw a mesh, you need provide Z input as 2D array. Only 2D info could create triangle facet for the model. I am sure if I understand your request and what does "but the x-value becomes constant." matter.

 

BTW, your 3D Mesh Surface.vi is different from the VI that shipped with LabVIEW. The Z input is changed into 1D array instead. Replacing it with Functions->Programming->Graphics & Sound->3D Graph Properties->3D Surface.vi and it sould be the same result with 3D-Surface.

 

 

0 Kudos
Message 2 of 7
(5,225 Views)

What are you expecting in the output? If you are using 3D Mesh (Create Mesh.vi), you need to be sure that you provide data on both, X,Y and Z axes. However, if you use Create Height function, your Z axis data would be automatically drawn in accordance with the X and Y inputs you define to this function.

I am not sure what you want to do, maybe a better explanation of what you want would make it clear.

-FraggerFox!
Certified LabVIEW Architect, Certified TestStand Developer
"What you think today is what you live tomorrow"
0 Kudos
Message 3 of 7
(5,218 Views)

What I want is to plot a road that goes through the points with these coordinates. This points represent the edges of the road.

thank you,

0 Kudos
Message 4 of 7
(5,211 Views)

I'd do a parametric plot so I can specify the quad (XYZW).

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 5 of 7
(5,202 Views)

What do you mean? can you show me?

 

0 Kudos
Message 6 of 7
(5,193 Views)

I wrote this reply to serve as an index into 3D examples.

 

If 3D graphs are new to you, you may want to start with the 3D car example by poking athe hard-coded values to turn the car into a road.

 

Take care,

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 7 of 7
(5,190 Views)