How to make xticks evenly spaced despite their value?
<p>I am trying to generate a plot with x-axis being a geometric sequence while the y axis is a number between 0.0 and 1.0. My code looks like this:</p>

<pre><code>form matplotlib import pyplot as plt
plt.xticks(X)
plt.plot(X,Y)
plt.show()
</code></pre>

<p>which generates a plot like this:</p>

<p><a href="https://i.stack.imgur.com/Ia6Wf.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/Ia6Wf.jpg" alt="My plot"></a></p>

<p>As you can see, I am explicitly setting the x-axis ticks to the ones belonging to the geometric sequence. </p>

<p>My question:Is it possible to make x-ticks evenly spaced despite their value, as the initial terms of the sequence are small, and crowded together. Kind of like logarithmic scale, which would be ideal if dealing with powers of a base, but not for a geometric sequence, I think, as is the case here.</p>