title: matplotlib.pyplot: How to visualize large Dimesion Data Clearly?
body: <p>I have data that has a total of 118750 samples, and each sample dimension is 79. To analyze my data, I am visualizing it. Here is the visualization image that is currently being generated:
  <a href="https://i.stack.imgur.com/kj3Us.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/kj3Us.png" alt="enter image description here" /></a></p>
  <p><strong>You can see that figure is not clear. Is there any way to visualize this large dimension data in a better way.</strong></p>
  <p>Here is my code of the above given image:</p>
  <pre><code>    x, y = test_data[&quot;x&quot;], test_data[&quot;y&quot;]
          # determine the total number of plots
          n, off = x.shape[1] + 1, 0
          plt.rcParams[&quot;figure.figsize&quot;] = (120, 100)
          count_mk_ind = 0
          for i in range(79):
              plt.subplot(n, 1, off + 1)
              for j in np.unique(y):
                  my_pl = plt.plot(
                      # np.ma.masked_where(y != j, y[:]), markers[count_mk_ind]
                      np.ma.masked_where(y != j, x[:, i])
                  )
                  plt.setp(my_pl, linewidth=1.0)
                  count_mk_ind += 1
              count_mk_ind = 0
      
              plt.title('Sensor Channel: ' 
  
  + str(i), y=0, loc='left', fontsize=18)
          off += 1
          # plt.plot(x)
  
  
      markers = ['o', '+', '&lt;', '*', '^', &quot;D&quot;,
                 '&gt;', &quot;v&quot;, &quot;&gt;&quot;, &quot;H&quot;, &quot;4&quot;, &quot;s&quot;,
                 &quot;p&quot;, &quot;3&quot;, &quot;x&quot;, &quot;_&quot;, &quot;X&quot;, &quot;|&quot;,
                 ]
      plt.subplot(n, 1, n)
  
      count_marker_ind = 0
      for j in np.unique(y):
          plt.plot(np.ma.masked_where(y != j, y[:]),
                   markers[count_marker_ind],
                   label=class_map[count_marker_ind])
          count_marker_ind += 1
  
      plt.legend(bbox_to_anchor=(1.05, 1),
                 loc='upper left',
                 borderpad=2,
                 markerscale=4.,
                 fontsize=25)
  
      plt.plot(y)
  
      plt.title('Label', y=0, loc='left', fontsize=18)
  
      plt.savefig(save_file_name, bbox_inches=&quot;tight&quot;)
      plt.close()
  </code></pre>