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 quite short (~10 lines), so I
guess you can easily modify it to your taste.

Regards,

-JJ


On Wed, Jul 1, 2009 at 8:41 AM, Forrest Sheng Bao<forrest....@gmail.com> wrote:
> Him
>
> I had a stem plot. Now I want to make the Y axis of log scale. But I do not
> want to use semilogy since I prefer the bars in stem plot. Do you know how
> to only scale the Y axis?
>
> Cheers,
> Forrest
>
> Forrest Sheng Bao, BSEE, Graduate Student
> Dept. of Computer Science/Electrical Engineering
> Texas Tech University, Lubbock, Texas
> http://narnia.cs.ttu.edu
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
>

------------------------------------------------------------------------------
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to