LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

3d plot sphere with vectors

Indeed that is how i did it and it works nicely.

The vI is attatched!!

Message 11 of 21
(2,746 Views)

Hi, i have hit a problem with my method, if you place more than 9 lines it won't allow me to plot any more.

it acknowledges them but it won't show them.

Is there a way of getting more plots out of a single 3d graph? or is there way of getting multiple line plots from a single entry??

 

Help!!

0 Kudos
Message 12 of 21
(2,700 Views)

I know I have used more than 9 plots before so please post code that illustrates the issue.

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 13 of 21
(2,680 Views)

Sure, its almost the exact same thing as the 4gems.vi link above, but for simplicity

Here is the vi!!!

 

On a side note, can anyone think of a way of getting more than nine lines on the 3d plot? i need a few more vectors to be shown?

i believe 10 is the max, and i'm using one for the sphere, so nine are left.

0 Kudos
Message 14 of 21
(2,668 Views)
Why are you using the array to cluster node to get the dimension of the 2D array size?? Just use an index array for either the row or column value that you want.
Message 15 of 21
(2,658 Views)

Sorry john but I need an example that failed. That code only has five.

 

Please post code that demonstrates the failure.

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 16 of 21
(2,651 Views)

@unclebump, i've been using labview for a year now, and i'm self taught and i still make silly quirky ways of doing things, however i will change that bit, thanks for the advice.

 

@Ben, good point, can be done by filling in more random numbers into the x y and z coordinate parts, i've put in a few more that are easy to track, i've put in 12 line plots and it shows only 10 of them, sorry about that should have said.

0 Kudos
Message 17 of 21
(2,646 Views)

Hi John,

 

Thanks, that is what I needed to help.

 

A for loop will iterate as many times as the value wired to the "N" terminal OR as many times as there are elements in an array tunnel with indexing enabled and it there is more than one tunnel with indexing enabled as many times as the the tunnel with the least number of elements.

 

You only have 9 plot colors defined so it stop iterating after all of the defined colors have been indexed.

 

I tossed the colors tunnel and got this.

 

 

 

Ben

Message Edited by Ben on 09-03-2008 07:34 AM
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 18 of 21
(2,637 Views)

Ah, ha! chears, it is always the simplest things.

by the way do you know if there is a max number of plots?

0 Kudos
Message 19 of 21
(2,630 Views)

John Pierson wrote:

Ah, ha! chears, it is always the simplest things.

by the way do you know if there is a max number of plots?


 

 

 

I seem to remember running into a problem at about 32,000 or there-abouts.

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 20 of 21
(2,625 Views)