08-25-2008 11:12 PM
I'm having trouble getting 3D Line Graph.vi to display the line connecting my data points. I'm collecting latitude, longitude, and depth data from a binary file, loading this data into arrays with a while loop, and sending those arrays to 3D Line Graph.vi. When I tried doing it with arrays created by random number generators, the line is displayed, but when I use it with my actual data, no lines are displayed. I can only see where the data points are when rotating the 3D graph. Any ideas on this would be appreciated.
Thanks,
Morgan
08-26-2008 04:28 PM
08-26-2008 04:29 PM
Hi Morgan,
Your VI looks fine to me. Can you please a post pictures of the lines with the numbers generated from an array and the ones with your data? I would like to see the difference. If you are able to duplicate the problem with a smaller VI for me to test, that would be very helpful.
Thanks!
Karunya
08-26-2008 04:34 PM
Hi Morgan,
Have you tried using the 3-D Curve VI?
Thanks!
08-26-2008 07:01 PM
Karunya,
Thanks for the info on the 3-D Curve VI. I tried it and it works. I think I was able to find the problem with 3D Line Graph.vi. It has something to do with plotting very close points away from the origin and scaling the axes to view the line. I have attached an example of where the vi breaks down. In this example, you can see that part of the line is drawn, but when you rotate the graph, you can see that the line is not drawn through all of the points. If you change the scale of the axes, then you eventually get the line to go through all of the points, but then the graph is not very "readable" at that point. It's when you try to zoom in really close to the plotted points.
Thanks!
Morgan
08-27-2008 03:40 PM
Thanks for your VI, Morgan.
Glad to hear that 3D Curve VI worked better for you!