LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to combine different array/cluster sizes in one X-Y graph

Solved!
Go to solution

Hi,

 

I'm working on a project to analyse hysteresis loops and have come up with three X-Y graphs which give me the information I need. However, I would like to be able to overlay the plots on top on one another. They all have the same axes (load and displacement), but different content:

 

1. "Load-Displacement" is a cluster of two 1D arrays (length is variable depending on the data file - in the dummy file attached it is 6369 points)

2. "Stiffness" is a cluster of two 1D arrays (always 2 points in length)

3. "Rectangles" is a 1D array of a cluster of two 1D arrays (length dependent on the number of rectangles which is determined by the number of times the FOR loop is executed - default is 100)

 

Can someone point me in the right direction - I'm sure there must be an easy way, but haven't found it in the help file/searches/forums

 

Many thanks,

 

Ian

Download All
0 Kudos
Message 1 of 4
(4,150 Views)
Solution
Accepted by ianhaigh

Use Insert Into Array to add the Load-Displacement Curve and the Stiffness Trace to the already existing Rectangle plot array.

 

Plot the resulting array of clusters and you should get what you want.

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

Something like this

Tim
GHSP
0 Kudos
Message 3 of 4
(4,143 Views)

Thanks for the quick reply,

 

It hadn't clicked that I could use the Insert Into Array for that purpose!

 

Cheers,

 

Ian

0 Kudos
Message 4 of 4
(4,136 Views)