[Matplotlib-users] Bug in set_yscale?

2010-11-02 Thread Pål Gunnar Ellingsen
Hi I'm trying to use the linthershy option for symlog in matplotlib.axes.Axes.set_yscale() http://matplotlib.sourceforge.net/api/axes_api.html#matplotlib.axes.Axes.set_yscalefor values smaller than 1, but the plot then shows large values (vertical lines) for the points which should have been in

Re: [Matplotlib-users] Bug in set_yscale?

2010-11-02 Thread Benjamin Root
On Tue, Nov 2, 2010 at 8:20 AM, Pål Gunnar Ellingsen paa...@gmail.comwrote: Hi I'm trying to use the linthershy option for symlog in matplotlib.axes.Axes.set_yscale() http://matplotlib.sourceforge.net/api/axes_api.html#matplotlib.axes.Axes.set_yscalefor values smaller than 1, but the plot

Re: [Matplotlib-users] Bug in set_yscale?

2010-11-02 Thread Pål Gunnar Ellingsen
Hi Thank you. I installed the latest from svn and it now works. Regards Pål On 2 November 2010 15:21, Benjamin Root ben.r...@ou.edu wrote: On Tue, Nov 2, 2010 at 8:20 AM, Pål Gunnar Ellingsen paa...@gmail.comwrote: Hi I'm trying to use the linthershy option for symlog in

Re: [Matplotlib-users] bug in set_yscale of bar graphs?

2009-11-12 Thread per freem
thanks to all for the replies. i am still having an issue with the log scale of these plots. i am trying to hide the top and right axes of the plot, since these should not be there when plotting a histogram or a line plot. i use the following code: import matplotlib matplotlib.use('PDF') import

Re: [Matplotlib-users] bug in set_yscale of bar graphs?

2009-11-12 Thread Jae-Joon Lee
On Thu, Nov 12, 2009 at 12:07 PM, per freem perfr...@gmail.com wrote: ax.axis[xzero].set_visible(True) # make other axis (bottom, top, right) invisible. The ax.axis[xzero] is drawn along the y=0 line. Therefore, if you use logscale, this axis become invisible. invisible = [bottom, top, right]

Re: [Matplotlib-users] bug in set_yscale of bar graphs?

2009-11-11 Thread Jae-Joon Lee
The bar command makes rectangles whose bottom position is 0. The reason that bars disappear when you set log scale is that bottom position of the bar become -infinity. You may * set log scale before calling the bar or * create bar plot but with reasonable (positive) bottom value. Take a look

Re: [Matplotlib-users] bug in set_yscale of bar graphs?

2009-11-11 Thread Gökhan Sever
On Wed, Nov 11, 2009 at 4:25 PM, per freem perfr...@gmail.com wrote: hi all, I am trying to make a simple bar graph that has its yaxis scale set to log.  I use the following code: import matplotlib matplotlib.use('PDF') import matplotlib.pyplot as plt from matplotlib import rc