title: Matplotlib: how to plot data from lists, adding two y-axes?
body: <p>I need to produce some plots with <code>matplotlib</code> but I am very poor at it. I have five <code>lists</code> which contain <code>100</code> values each.  Their values vary according to:</p>
  
  <p><a href="https://i.stack.imgur.com/MLNqd.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/MLNqd.png" alt="enter image description here"></a></p>
  
  <p>I want to be able to produce two <code>line-and-marker</code> charts out of them:</p>
  
  <ol>
  <li>The first plot involves List 1, 2, 3, and 4, and has <strong>two y-axes</strong>. List 1, 2, and 3 rely on the regular y-axis, while list 4 relies on the <strong>added y-axis</strong>, like the following:</li>
  </ol>
  
  <p><a href="https://i.stack.imgur.com/sGOIT.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/sGOIT.png" alt="enter image description here"></a> </p>
  
  <ol start="2">
  <li>The second has to plot just List 4 and 5, but with the regular y-axis.</li>
  </ol>
  
  <p>Do I need to turn the each <code>list</code> into a <code>numpy array</code> before going on? Anyhow, I failed to figure out how to do the plotting with <code>matplotlib</code>. Any help will be much appreciated. Thanks!</p>