title: From Vector of Tuples to Tuple of Vectors
body: <p>In Julia, many things are represented as Arrays of small Tuples, such as <code>Point</code>s. But sometimes you'd like the elements separate, such as extracting x and y coordinates for plotting - e.g. to have a tuple of Arrays. You can partly use <code>zip</code>:</p>
  
  <pre><code>pts = [(1,2), (1,3), (2,3), (2,2)]
  a,b = collect(zip(pts...))
  </code></pre>
  
  <p>This leads to a tuple of tuples though, although you can</p>
  
  <pre><code>av = [a...]
  bv = [b...]
  </code></pre>
  
  <p>Is there a more convenient way of doing this operation?</p>