title: How to adjust 'tick frequency' for string x-axis
body: <p>I have a list to draw. Is there a way to display parts of x-axis labels, for example <code>x[0], x[10], ...</code>, but keep the figure the same?</p>
  <pre><code>x = ['alice', 'bob', ...] # string list, len &gt; 100
  y = [23, 323, ...] # int list
  plt.plot(x, y)
  plt.show()
  </code></pre>
  <p><a href="https://i.stack.imgur.com/vVkav.png" rel="noreferrer"><img src="https://i.stack.imgur.com/vVkav.png" alt="After rotate 90 degree" /></a></p>
  <p>Edit 1: There are some other questions like <a href="https://stackoverflow.com/questions/12608788/changing-the-tick-frequency-on-x-or-y-axis-in-matplotlib">Changing the &quot;tick frequency&quot; on x or y axis in matplotlib?</a> dealing with int label. But doesn't work for me.</p>
  <p>Edit 2: Rotating x-axis labels can not help.</p>