06-19-2012 04:33 AM
Hi guys,
I got a 2D array. How should I plot a 3D surface graph using the 2D data.
I need column 0 to be x coordinate, column 1 to be y coordinate and column 2 to be z coordinate. Thanks!!!
06-19-2012 08:14 AM
See this thread to review examples.
The "Car" example is just waiting for you r copy your data into it.
Ben
06-19-2012 09:11 AM - edited 06-19-2012 09:16 AM
Hi Ben,
Actually the data I posted is just a portion of my 2D array. I have a total of 1369 data. I do not have any knowlege with 3D graph. However, I need to complete it by tomorrow. Can you guide me to complete this 3D data. I had look at the "Car" example at here, but cannot open the vi it says set plot color map and transparency is missing is this provided in the labview library? Thanks!!!
06-19-2012 09:25 AM
@Nextal wrote:
Hi Ben,
Actually the data I posted is just a portion of my 2D array. I have a total of 1369 data. I do not have any knowlege with 3D graph. However, I need to complete it by tomorrow. Can you guide me to complete this 3D data. I had look at the "Car" example at here, but cannot open the vi it says set plot color map and transparency is missing is this provided in the labview library? Thanks!!!
Check this thread for the sub-VIs.
Re: " However, I need to complete it by tomorrow. Can you guide me to complete this 3D data".
[Set tongue in cheek mode = true]
Yes I am capable.
Am I allowed?
Do you have a credit card?
[Set tongue in cheek mode = false]
Chase down those links, review the examples. Iposted those to make it possible for people to figure out the 3D graphs so you can do it without my help.
"Gird up your loins" and go for it!
Ben
06-19-2012 12:26 PM
Hi Ben,
I look through some of your post but is still quite unsure how to get my 3D graph out.
Can you explain to me how do I get the x,y & z matrix from my 2d data? I need to use 3D surface instead of 3D Parametric Surface so can I just replace that? Thanks for explaining!!! The attachment is my sample data that I will be plotting.
06-19-2012 12:35 PM
Have you played with the Car example?
You should work with that until you get an idea how the various arrays are used.
Once you get a handle on how the arrays are used your work should amount to formatting the data and that is just array manipulations.
Ben
06-19-2012 12:43 PM
If you are having trouble with building the arrays post an IMAGE* of your code and I may be able to offer advice.
Ben
* You have a 1 in twelve chance of having the same version of LV as I do and if it isn't LV 7.1, I can't look at the code.
06-19-2012 01:02 PM - edited 06-19-2012 01:07 PM
The only array I have is this image. I had build it from my detector after 1 day.
This is only a portion of the data but I still have the complete array with all the data. The complete example can be view in the text files. What I want to do now is just let column 0 be x, column 1 be y and column 2 be z.
06-19-2012 01:22 PM
If you do not post code showing your work, I will can be of no help to you.
Ben
06-19-2012 01:35 PM - edited 06-19-2012 01:36 PM
Hi Ben,
Sorry if you need code of the program with detector codes, I don't have it now. I am not at my workspace. This program took around 25 hours to run and acquire all the datas. Currently, I only have the data with me at home.