Answer by melon_lord for Logarithmic scale with base 2
If someone is looking for the new way to do it, sinceplt.xscale('log', basex=2)is not working anymore, useax.set_xscale('log', base=2)
View ArticleAnswer by Leon for Logarithmic scale with base 2
What you want is called a logarithmic scale (rather than exponential). I guess this is why you failed to find the answer yourself, otherwise you could easily arrive at the corresponding matplotlib...
View ArticleLogarithmic scale with base 2
I have the following pairs of points that I want to plot using a logarithmic scale. import matplotlib.pyplot as pltf, ax = plt.subplots(1)xdata = [256, 512, 1024, 2048]ydata = [1, 2, 30,...
View Article
More Pages to Explore .....