[Matplotlib-users] set_scale and set_xscale

2013-03-26 Thread Gökhan Sever
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') Thanks. -- Gökh

Re: [Matplotlib-users] Trouble with legend and axis scaling

2013-03-26 Thread Sterling Smith
Frix, It may be useful to post the version and backend you are using to the list. import matplotlib print matplotlib.__version__ print matplotlib.get_backend() Also, if you can format the code as a simple self-contained example, that would help others confirm what you are seeing. -Sterling On

[Matplotlib-users] Trouble with legend and axis scaling

2013-03-26 Thread Hackstein
Hello everyone, I have two issues with my current projects: 1) I automatically generate plots of several data sets in a for-loop, all of which have the same shape of x and y values, but some of which have two of those data (i.e. graphs) sets per figure, others have only one. I create the