title: How to reduce or increase the array elements but not change the shape of plot which array draws
body: <p>I have two arrays:</p>
  <p>array1: <code>[[1,2,3,4......,10000],[a1,a2,......,a10000]]</code></p>
  <p>array2: <code>[[1,2,3.....,1000000000],[b1,b2,.......b1000000000]]</code></p>
  <p>and want to resize them, so they can be samilar size like:</p>
  <p>resized_array1:<code>[[1,3,19....9670,10000],[a1,a3,a19,........a9670,a10000]]</code>
  resized_array2:<code>[[1,600,1929....1000000000],[b1,b600,b1929....b1000000000]]</code></p>
  <p>The plot of these two arrays are like pulse figure and I want to keep the peaks of two arrays.</p>
  <p>So how can I do that in python?
  Thanks.</p>