08-10-2010 04:46 PM
Hi there
I have a bunch of data points in a 2D plane that make a closed shape (a hexagon for instance ) if they are connected to each other. This data could be as simple as bunch of random numbers in a 6x2 matrix. I want to connect these point to each other and fill the shape that comes out of them. Any ideas?
Thanks
Solved! Go to Solution.
08-10-2010 04:54 PM
I would start with a picture control and try out the Draw Multiple Lines.vi. You might get lucky, or you may have to do a little work to order the points correctly.
08-10-2010 05:14 PM
Thanks but I want it to be a graph, not a picture. Pictures look so unprofessional to me!! I can do this easily in Matlab but I'd prefer it to be done inside LabVIEW rather than calling a Matlab script.
08-10-2010 05:31 PM
Well, phase 2 after you figured out the Draw Multiple Lines VI is to add the picture to a graph....
08-10-2010 07:25 PM
Thank you, this is exactly what I was looking for.
08-11-2010 02:51 PM
Is it possible to do the same thing for a 3D graph too? If yes, please let me know how.
Thanks