On Wed, Mar 27, 2013 at 1:03 AM, Gökhan Sever <gokhanse...@gmail.com> wrote:

> Hello,
>
> Aren't these two log scaling calls supposed to be performing the same
> action?
>
> Here is a simple script tested in ipython --pylab
>
> fig = plt.figure(figsize=(5, 5))
> ax1 = fig.add_subplot(1,1,1)
> ax1.plot(np.random.randn(100))
>
> ax1.xaxis.set_scale('log')
> ax1.set_xscale('log')
>
>
Intuitively, I guess they should be identical, but they don't seem to be.
It seems like for "ax1.xaxis.set_scale('log')", everything is set
correctly, except the projection.

Ben Root
------------------------------------------------------------------------------
Own the Future-Intel&reg; Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest.
Compete for recognition, cash, and the chance to get your game 
on Steam. $5K grand prize plus 10 genre and skill prizes. 
Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to