title: Matplotlib - Using 1-D arrays in streamplot()
body: <p>So I have found two previous similar questions asked here:</p>
  
  <p><a href="https://stackoverflow.com/questions/33637693/how-to-use-streamplot-function-when-1d-data-of-x-coordinate-y-coordinate-x-vel">How to use streamplot function when 1D data of x-coordinate, y-coordinate, x-velocity and y-velocity are available?</a></p>
  
  <p><a href="https://stackoverflow.com/questions/32774976/how-to-plot-streamlines-with-matplotlib-given-1-d-arrays-of-x-cords-y-cords-u">How to plot Streamlines with Matplotlib given 1-D arrays of X cords, Y cords, U components and V components</a></p>
  
  <p>The first question deals with arrays of different sizes (which isn't my case, X, Y, U and V will always be of the same length in my example) while the second does provide some more headway becomes incomprehnsible later on in the question and doesn't provide a solution.</p>
  
  <p>Moving onto my problem I have 4, 1-D arrays, the X coordinates and Y coordinates of where each vector is and then the respective U and V values for each vector. I am trying to visualise the vector field (which I can visualise correctly in .quiver) as a streamline visualization using streamplot but I encounter the problem of making U and V 2D. I don't fully understand what the second dimension needs to contain for U and V so any clarification (and code ideally would be great).</p>
  
  <p>The only code I could provide is my implementation of the second link but that doesn't work for me so would be obselete. </p>