title: How to plot a 2d streamline in 3d view in matplotlib
body: <p>I need to plot a 2d streamline in 3d view like <a href="https://stackoverflow.com/questions/14963004/continuous-shades-on-matplotlib-3d-surface">this</a>. As suggested by the <a href="https://stackoverflow.com/questions/16252231/symmetric-streamplot-with-matplotlib/16373060#16373060">post</a>, I need to extract streamlines and arrows from a 2d plot and then transform it to 3d data. How to transform this 2d streamline data to 3d data and plot using mplot3d?</p>
  
  <p>Thanks in advance</p>
  
  <p>Raj</p>
  
  <p>EDIT: @gg349, with your help I could plot streamline in 3d view. The plot is <a href="http://www.physics.iitm.ac.in/~raj/streamline1.png" rel="nofollow noreferrer">here</a></p>
  
  <p>I have two questions:</p>
  
  <ol>
  <li><p>How to extract arrows from streamplot and plot it in 3d as you did in your earlier <a href="https://stackoverflow.com/questions/14963004/continuous-shades-on-matplotlib-3d-surface">post</a></p></li>
  <li><p>How to extract a imshow() data and plot it in 3d. The 2d streamline with imshow() is <a href="http://www.physics.iitm.ac.in/~raj/streamline.png" rel="nofollow noreferrer">here</a></p></li>
  </ol>