I am sure this is really easy, but I can't find the right function.
I have two arrays, one for x values, one for y and now I want to combine them xyxyxy.
for example:
$x = array( 0=>10, 1=>20, 2=>30 );
$y = array( 0=>15, 1=>25, 2=>35 );
Mixed would leave:
$xy = array( 0=>10, 1=>15, 2=>20, 3=>25, 4=>30, 5=>35 );