Thanks in advance for taking the time to read my question. I'm having trouble plotting an array of negative powers of 10 in matplotlib
I have read through all of the log xscale options in the matplotlib documentation but to no avail. I have also read the following questions and some others which seemed similar but they did not end up helping me out:
Matplotlib: disable powers of ten in log plot
Plot Axis in Python with Log Scale for Negative Exponents of 10
Logscale plots with zero values in matplotlib *with negative exponents*
Logscale plots with zero values in matplotlib
This is more or less in simple form what my code looks like.
x = np array with 100 values of 0.99999, 0.9999, 0.999, 0.99
y = np array with corresponding evaluation outputs to be plotted.
plt.plot(x, y, 'o')
plt.xticks([0.99999,0.9999,0.999,0.99])
plt.gca().set_xscale('log')
What I'm trying to attain is a plot with just the values 0.99999, 0.9999, 0.999, 0.99 evenly spaced on the x axis plotted against their corresponding y values.
Once again I would like to thank you so much for taking the time to read this question, and I sincerely hope you can help me out!