Creating a semilogx (or semilogy or loglog) plot
I would like to create a semilogx plot of some data. I have two lists of data and would like to use something like list_plot() to visualize the data, but the x-axis should be logarithmic. I have attempted (and failed) in using pyplot, but get an error message like this:
Your currently selected backend, 'agg' does not support show().
Please select a GUI backend in your matplotlibrc file
which I don't understand. Is there an option to plot() and/or list_plot() that allows one to choose logarithmic axes?
Thanks.
Thanks to Benjamin Jones. This answer was very helpful and I was able to produce the figure I needed!
@Ed Scheinerman: if the answer helped, you should click the button to "accept the answer". This helps us keep track of unanswered questions and gives him some extra karma to boot. :-)
@DSM: Except that someone community wiki'ed it, so it won't ;-)
@kcrisman-- ah, the unintended consequence of generosity..