예제 #1
0
def beautify():
    """Customize figure presentation."""

    #plt.xscale('log') # Does not work with matplotlib 0.91.2
    a = plt.gca()
    a.set_xscale('log')
    #Tick label handling

    plt.xlabel('log10 of (ERT / ERTref)')
    plt.ylabel('Proportion of functions')
    logxticks()
    beautifyECDF()
예제 #2
0
파일: ppperfprof.py 프로젝트: Oueee/SOS
def beautify():
    """Customize figure presentation."""

    #plt.xscale('log') # Does not work with matplotlib 0.91.2
    a = plt.gca()
    a.set_xscale('log')
    #Tick label handling

    plt.xlabel('log10 of (ERT / ERTref)')
    plt.ylabel('Proportion of functions')
    logxticks()
    beautifyECDF()
예제 #3
0
파일: pprldmany.py 프로젝트: Oueee/SOS
def beautify():
    """Customize figure presentation."""

    #plt.xscale('log') # Does not work with matplotlib 0.91.2
    a = plt.gca()
    a.set_xscale('log')
    #Tick label handling
    plt.xlim(xmin=1e-0)

    plt.xlabel('log10 of (# f-evals / dimension)')
    plt.ylabel('Proportion of function+target pairs')
    ppfig.logxticks()
    pprldistr.beautifyECDF()
예제 #4
0
파일: pprldmany.py 프로젝트: SunRuoxi/gpeda
def beautify():
    """Customize figure presentation."""

    #plt.xscale('log') # Does not work with matplotlib 0.91.2
    a = plt.gca()
    a.set_xscale('log')
    #Tick label handling
    plt.xlim(xmin=1e-0)

    plt.xlabel('log10 of (# f-evals / dimension)')
    plt.ylabel('Proportion of function+target pairs')
    ppfig.logxticks()
    pprldistr.beautifyECDF()
예제 #5
0
def beautify():
    """Customize figure presentation."""

    # plt.xscale('log') # Does not work with matplotlib 0.91.2
    a = plt.gca()
    a.set_xscale("log")
    # Tick label handling
    plt.xlim(xmin=1e-0)

    global divide_by_dimension
    if divide_by_dimension:
        plt.xlabel("log10 of (# f-evals / dimension)", fontsize=label_fontsize)
    else:
        plt.xlabel("log10 of # f-evals", fontsize=label_fontsize)
    plt.ylabel("Proportion of function+target pairs", fontsize=label_fontsize)
    ppfig.logxticks()
    pprldistr.beautifyECDF()