I need some help
I have been trying to plot several subplots, with the y axis being in linear
and the x axis in log.
I need both axis to be tight to the data.
Here's what I have:
import scipy.io.matlab as matlab
from matplotlib.pyplot import *
from matplotlib.figure import Figure
from matplotlib.backends.backend_wxagg import \
FigureCanvasWxAgg as FigCanvas, \
NavigationToolbar2WxAgg as NavigationToolbar
from pylab import *
fig = Figure((6.5, 5.0), dpi=100)
axes = fig.add_subplot(xlen,ylen,pos, polar=False, autoscale_on=False)
I also used to have error (AttributeError: 'MaskedArray' object has no
attribute 'putmask') with this code.
I have been looking for solution in forum archive, and someone suggested
using set_autoscale_on(False) but I tried and this didn't work.
Any help would be much much appreciated!
View this message in context: http://www.nabble.com/Set-tight-axis-for-log----axis('tight')-doesn't-work-tp24777527p24777527.html
Sent from the matplotlib - users mailing list archive at Nabble.com.