LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

XY Plot

I have a text file with contents
Lat Long
12.6 15
13.6 20
I want to plot this data using XY plot, it was really painful to use labview XY plot, can anyone please help me to plot it using Labview.
0 Kudos
Message 1 of 3
(2,696 Views)
Hi,
What I recommend you is open your file and convert the two columns into two arrays of DBL. Make a cluster of those two arrays like in the picture attached and that should do what you want.
Be careful with the decimal separator if it's a ".".

Feel free to comment this answer if I'm not clear enough (I don't know your skills in LabVIEW).

Hope this helps !
Julien
0 Kudos
Message 2 of 3
(2,696 Views)
If you open the file with the "Read From Spreadsheet File" function, you
get your data in a 2-D-array. Now yo have to convert the 2-D-array into
a 1-D-array of clusters (first array element is a cluster of 12.6 and
15, the second array element is a cluster of 13.6 and 20). Now it i
seasy to user the xy-plot.

Niko

baiju_alex wrote:
> I have a text file with contents
> Lat Long
> 12.6 15
> 13.6 20
> I want to plot this data using XY plot, it was really painful to use
> labview XY plot, can anyone please help me to plot it using Labview.
0 Kudos
Message 3 of 3
(2,696 Views)