LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Row or columns of 2d array to graph

Hello
I tried to plot the values of a certain row of a 2d array in a xy graph. The x-axis should display the column-indexes and the y-axis the values of the elements of the row. The rowindex can be selectable by the user.
 
Can somebody help me?
Thx
Using Labview 7.1
0 Kudos
Message 1 of 4
(2,837 Views)
Hi Simon

I am sorry, but I do not really understand what you want.
You're saying you have a 2D array (of what (doubles, waveforms)).
Let's suppose you have a 2D double array:

12,3 ; 2,3
12,4 ; 4,5
12,5 ; 1,4

Now what exactely do you want to display?

0 Kudos
Message 2 of 4
(2,831 Views)

This should Do

Look at attached pic

First index out that row>> determine its size>> generate a 1 D array column indices as shown>> bundle these two arrays and plot on graph

regards

Dev

Message Edited by devchander on 09-06-2006 04:31 AM

Message 3 of 4
(2,832 Views)
Smiley Very Happy works!
Using Labview 7.1
0 Kudos
Message 4 of 4
(2,801 Views)