title: average plot of multiple plots in python
body: <p>I have a data in a numpy array with multiple arrays inside of them, and I need to extract the average of each position array to plot a average plot of this data. What is the best way to do this?</p>
  
  <p><strong>Example of how the data is storage:</strong></p>
  
  <pre><code>array([[ 0.00474308,  0.00513834,  0.00513834, ...,  0.00395257,
           0.00355731,  0.00316206],
         [ 0.00474308,  0.00474308,  0.00513834, ...,  0.00395257,
           0.00355731,  0.00316206],
         [ 0.00474308,  0.00434783,  0.00513834, ...,  0.00395257,
           0.00355731,  0.00316206],
         ..., 
         [ 0.00513834,  0.00513834,  0.0055336 , ...,  0.00316206,
           0.00355731,  0.00316206],
         [ 0.00474308,  0.00474308,  0.0055336 , ...,  0.00316206,
           0.00355731,  0.00316206],
         [ 0.00474308,  0.00474308,  0.00513834, ...,  0.00355731,
           0.00355731,  0.00316206]])
  </code></pre>
  
  <p>The new array need to contain the following format:</p>
  
  <pre><code>array([ avg(arr1[0]+arr2[0]+...+arrN[0]), avg(arr1[1]+arr2[1]+...+arrN[1]),...,avg(arr1[N]+arr2[N]+...+arrN[N])])
  </code></pre>
  
  <p>The picture bellow illustrate all data plotted in a graph.</p>
  
  <p><a href="https://i.stack.imgur.com/Nub4H.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Nub4H.png" alt="This picture illustrate all data plotted in a graph"></a></p>