barh takes an optional argument "log". set this True (or you may set
"left" with some meaningful value, other than 0)
http://matplotlib.sourceforge.net/api/pyplot_api.html#matplotlib.pyplot.barh
-JJ
On Wed, Oct 14, 2009 at 4:30 PM, Donovan Parks wrote:
> Hello,
>
> I've encountered two bugs r
> -Original Message-
> From: Donovan Parks [mailto:donovan.pa...@gmail.com]
> Sent: Wednesday, October 14, 2009 1:31 PM
> To: matplotlib-users@lists.sourceforge.net
> Subject: [Matplotlib-users] Log scale for horizontal bar chart (2
> bugs)
>
> Hello,
>
> I've encountered two bugs recentl
yscale("log")
http://matplotlib.sourceforge.net/api/pyplot_api.html#matplotlib.pyplot.yscale
However the bars in the stem plot will be gone (because of the log 0).
It seems that there is no option for controling the baseline location
in the stem command.
However, the code for stem command is qui
Take a look at the semilogx and semilogy functions:
http://matplotlib.sourceforge.net/matplotlib.pylab.html#-semilogx
trevis
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Navid Parvini
Sent: Thursday, May 31, 2007 6:40 AM
To: matplotlib-users@
Hi,
2007/5/31, Navid Parvini <[EMAIL PROTECTED]>:
> Dear All,
>
> How can I set the x-axis and/or y-axis in Log scale.
In interactive mode:
plot([1, 1e1, 1e2], [1, 1e1, 1e2])
ax = gca()
ax.set_xscale('log')
ax.set_yscale('log')
draw()
The other parameter .set_xscale and set_yscale accept is 'li