if only one x-array is given. This is plotted against all y-arrays