// Arrays to store coordinate data for passing wave data to the graph double waveX[ 3 ][ N ]; // X-coordinates (3 series: Wave A, Wave B, Composite Wave ~ number of points) double waveY[ 3 ][ N ]; // Y-coordinates (3 series: Wave A, Wave B, Composite Wave ~ number of points)