06-19-2012 02:01 PM
This is my program, I had sceenshot few days ago. If it is too small, right click -> view image and zoom.
06-19-2012 02:11 PM
See also this thread where similar questions are being asked.
It took about two minutes to extract the data and make this plot, after the data was posted here. I took me several hours to get to this point in the other thread.
Now, what do you want to find in this data?
Lynn
06-19-2012 02:21 PM - edited 06-19-2012 02:22 PM
Hi Johnsold,
In this thread, I want to plot a 3D graph using the data I currently have but in another thread I am trying to find ways to shorten the time needed to acquire the data or perhaps find a pattern.
06-19-2012 11:37 PM - edited 06-19-2012 11:38 PM
Hi Ben,
I look thrugh your car example and can start to understand abit.
Please advice me, I am not really sure am I doing it right. The attached vi is what I attempted, it is edited from yur car.vi. The expected result in my mind and what I actually want is a colum 0 and column 1 as the surface and column 2 as a "mountain". I am having problem with the z matrix(I am not sure how to get it). Thanks!!!
06-20-2012 11:15 AM
Hi Ben,
Please advice me. This is labview version 8.0.
06-20-2012 11:35 AM
Go back to the Parametric plot as shown in the Car example.
Play around with the contant values I defined until you understand how each value works.
What you should come to find is the surface is plotted as if it is a mesh where the intersection of the mesh are defined by "triplets" (X,Y,Z) where the X values come from the 2d X array the 2d Y array and the 2d Z array.
Note: You can leave the W vector unwired and the graph will render the color based on the Z values.
You should then look at each of the points in your 2d data as if they are the "Z" array. You then should develop code that will produce teh X and Y arrays you need.
So after you understand what the 3D graph needs then write code to give it what it wants. So the challenge before you is to learn how to develop two 2D arrays that will define the X and Y cordinates of your data.
I suspect this is dirt simple once YOU learn how to produce the required arrays.
I try to teach pepole to fish so that they can feed themselves.
Ben
06-20-2012 02:51 PM
Hi Ben,
can you take a look at the image did I get the value XYZ correctly? This is just a portion of it
06-22-2012 06:23 AM - edited 06-22-2012 06:24 AM
Hi Ben,
This is my 3D graph from different angle.
Can you advice me why when I use the3D Parametric Surface.vi I can get the 3D graph.
However, when I put the array in the car example's vi exactly the same code only put in my 2D array for X,Y & Z, it display:
06-22-2012 07:36 AM
Not off hand.
Those graphs look nice.
See you did not need me after all.
Good job!
Ben
06-22-2012 11:23 AM - edited 06-22-2012 11:25 AM
Hi Ben,
There is something that I like to clarrify with you, the 3D Surface graph and 3D Parametric graph is the same? It is just how you input your X & Y in 1D array form in Surface graph while Parametric graph is how you input your X & Y in 2D array afform.