Quantcast
Channel: Preserve linear y-axis scaling when plotting log data in matplotlib - Stack Overflow
Browsing latest articles
Browse All 2 View Live

Answer by Ben Schmidt for Preserve linear y-axis scaling when plotting log...

I would plot scatter(hours, activity), then ax.set_yscale('log') to get it on a log scale, and finally ax.set_major_formatter(ScalarFormatter()) to show the tick labels as regular numbers (the default...

View Article



Image may be NSFW.
Clik here to view.

Preserve linear y-axis scaling when plotting log data in matplotlib

I've found a few solutions close to this but i can't get my axes to label correctly still. I'm missing something small.I have a radioactive decay curve to be plotted as a straight line. I have 2 lists...

View Article
Browsing latest articles
Browse All 2 View Live




Latest Images