def plotDataSets(files, names, num, den, subunits, title, yLabel, colors, saveName=None, 
                 yMax=1.25, figSize=(22,7), median=False, legendLoc='upper left',
                legendCols=3, normProtein=None):
                    
    ax = vizLib.makePlotWithFileList(files, num, den, AllProteins=subunits, yMax=yMax, 
                                     names=names, colors=colors, figSize=figSize, 
                                     median=median, normProtein=normProtein)
                                     
    pylab.legend(loc=legendLoc, ncol=legendCols)
    pylab.xticks(numpy.arange(1,len(AllSubunits)+1,1), [item[4:] for item in AllSubunits], rotation=45)
    ax.set_title(title, multialignment='center')
    ax.set_ylabel(yLabel)
    pylab.tight_layout()
    if not (saveName is None):
        pylab.savefig(saveName)
    return ax
def plotDataSetsFiles(files, names, num, den, title, yLabel, colors, subunits=None, saveName=None, 
                 yMax=1.25, figSize=(22,5), median=False, legendLoc='upper left', legend=True,
                legendCols=3, normProtein=None, markerSize=None, noFill=False, mew=1):

    ax = vizLib.makePlotWithFileList(files, num, den, subunits=subunits, yMax=yMax, 
                                     names=names, colors=colors, figSize=figSize, 
                                     median=median, normProtein=normProtein, markerSize=markerSize,
                                     noFill=noFill, mew=mew)

    if legend:
        pylab.legend(loc=legendLoc, ncol=legendCols)
    ax.set_title(title, multialignment='center')
    ax.set_ylabel(yLabel)
    pylab.tight_layout()
    if not (saveName is None):
        pylab.savefig(saveName)
    return ax