Quantcast
Channel: Logarithmic scale with base 2 - Stack Overflow
Browsing latest articles
Browse All 3 View Live

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 Article



Answer 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 Article

Image may be NSFW.
Clik here to view.

Logarithmic 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
Browsing latest articles
Browse All 3 View Live




Latest Images