LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple plots on a XY graph

Hi,
Does anyone know how to make multiple plots on a XY graph? So I open
multiple 2D array's (with a "read from spreadsheet string" on a for
loop) with 2 rows (Y and X) and want them in one XY graph, and later on
i want to average the Y positions when they are on the same X positions
(Like: first plot X =8 and Y =5 __ second plot X=8 and Y = 3 then add 5
and 3 divide it by 2 = 4 at position X =8) , does anyone know how to do
this?

Thijs
0 Kudos
Message 1 of 2
(3,272 Views)
Thijs Boeree (t.boeree@amc.uva.nl) wrote:
$ Does anyone know how to make multiple plots on a XY graph? So I open
$ multiple 2D array's (with a "read from spreadsheet string" on a for
$ loop) with 2 rows (Y and X) and want them in one XY graph,

The way I remember is you package them as an array that you feed to the
XY graph VI. However you have to size the legend of that graph to
actually display the number of separate plots you want. All further
plots/arrays will be rendered in the same fashion as the last one
defined.

$ and later on
$ i want to average the Y positions when they are on the same X positions
$ (Like: first plot X =8 and Y =5 __ second plot X=8 and Y = 3 then add 5
$ and 3 divide it by 2 = 4 at position X =8) , does anyone know how to do

$ this?

$ Thijs
0 Kudos
Message 2 of 2
(3,272 Views)