Help for this page
@gradient_array= ( \@x_values, \@y_values );
$x=$gradient_array[0]->[$index]; $y=$gradient_array[1]->[$index];