title: How to join/plot these points in python/matplotlib
body: <p>I was trying to figure out how to extract and plot certain values against one another. The code I have is the following:</p>
  <pre><code>    x1 = 0.1
      x2 = 1
      x3 = 10
      x4 = 100
      x5 = 1000
  
      yz1 = return_two_nums(x1)
      yz2 = return_two_nums(x2)
      yz3 = return_two_nums(x3)
      yz4 = return_two_nums(x4)
      yz5 = return_two_nums(x5)
  </code></pre>
  <p>return_two_nums returns a tuple of 2 floats.</p>
  <p>What I want to do is make two separate plots: For the first plot x1, x2, x3, x4, x5 (altogether we can call x) on the x-axis vs. all of the first values of the tuples on the y-axis. For the second plot, the exact same thing except I want x plotted against all the second values of the tuples. How can I go about doing this? Any help would be appreciated. Thank you!</p>