07-04-2011 11:20 AM
I have a chunk of code that plots points representing 3D vectors, some of which are connected with lines. The data for each point arrives in dozens of 3x1 arrays within a cluster (I just replaced them all with a constant in this attached file), and I switch between different views using the ring and array index values.
What is the easiest way to replace all of this with a single 3D plot?
07-05-2011 06:38 AM - edited 07-05-2011 06:39 AM
Hello Graham,
I have built you a VI that takes the data as described in your forum post and plots it on a 3D graph. The project and VI’s I have created are in 2010 SP1, let me know if you require a previous version.
07-05-2011 06:45 AM
That's great Andy, thank you. I am using LV 2009.
07-05-2011 06:53 AM
Hi Graham,
Here you go mate!
07-05-2011 07:42 AM
Hi Andy,
I can see what you've done and it makes sense .. but I'm receiving data in real-time. So would be unable to use the for loop to re-package the arrays. I should have said that before! The attached is the plotting part of my 'offline' version (where I play with mathscript), it has some data which gives a better idea of what I'm trying to achieve. I'll have a go at modifying your code ..
Graham
07-11-2011 04:44 AM
Hi Graham,
I have changed the program so it updates during run time. Have a look an let me know what you think.