03-22-2011 06:16 AM
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,
03-22-2011 09:18 PM
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.
03-23-2011 12:20 AM
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.
03-23-2011 04:02 PM
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,
03-24-2011 08:37 AM
I'd do a parametric plot so I can specify the quad (XYZW).
Ben
03-24-2011 02:13 PM
What do you mean? can you show me?
03-24-2011 02:36 PM
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