def sysFcomp2(mirrorList, blkFlag=True, printFigs=False):
    """F of given mirrors
    uses 6colors
    """
    import matplotlib.pyplot as plt
    import numpy as np
    # custom color cycler
    from cycler import cycler
    ltdColors=[ [0,0,0], # black
            [0,1,0], # green
            [1,0,1], # magenta
            [.7,.7,.7], # grey
            [1,.647,0],# orange
            "#17becf", # light blue
        ]
    default_cycler = (cycler(color=ltdColors))
    plt.rc('axes', prop_cycle=default_cycler)
    import psltdsim as ltd

    plt.rcParams.update({'font.size': 9}) # used to scale text
    mini = 1 

    fig, ax = plt.subplots()
    fig.set_size_inches(6, 2)



    for mirror in mirrorList:
        mir = ltd.data.readMirror(mirror)
        xend = max(mir.r_t)
        mini = 1 # can be increased to scale width of plots

        caseName = mir.simParams['fileName'][:-1]

        mins = np.array(mir.r_t)/60.0;
        minEnd = max(mins)

        ## Plot System Frequencies
        ax.plot(mins, np.array(mir.r_f)*60.0,linewidth=1, 
                        label = caseName)

    ax.set_title('System Frequency')
    ax.set_ylabel('Hz')
    ax.set_xlabel('Time [minutes]')
    ax.set_xlim(0,minEnd)
    #ax.legend(loc='upper right')#, bbox_to_anchor=(0.5, -0.2))
    ax.legend()
    ax.grid(True)
    fig.set_dpi(150)
    fig.set_size_inches(9/mini, 2.5) # single column, double height for legend below
    #fig.set_size_inches(9/2, 2.5*.75) # single column, double height for legend below
    fig.tight_layout()
    if printFigs: plt.savefig(caseName+'Fcomp'+'.pdf', dpi=300)
    plt.show(block = blkFlag)
    plt.pause(0.00001)
def sysFcomp2(mirrorList, blkFlag=True, printFigs=False):
    """F of given mirrors
    uses 6colors
    """
    import matplotlib.pyplot as plt
    import numpy as np
    # custom color cycler
    from cycler import cycler
    ltdColors=[ [0,0,0], # black
            [0,1,0], # green
            [1,0,1], # magenta
            [.7,.7,.7], # grey
            [1,.647,0],# orange
            "#17becf", # light blue
        ]
    default_cycler = (cycler(color=ltdColors))
    plt.rc('axes', prop_cycle=default_cycler)
    import psltdsim as ltd

    plt.rcParams.update({'font.size': 9}) # used to scale text
    mini = 1 

    fig, ax = plt.subplots()
    fig.set_size_inches(6, 2)



    for mirror in mirrorList:
        mir = ltd.data.readMirror(mirror)
        xend = max(mir.r_t)
        mini = 1 # can be increased to scale width of plots

        caseName = mir.simParams['fileName'][:-1]

        mins = np.array(mir.r_t)/60.0;
        minEnd = max(mins)

        ## Plot System Frequencies
        ax.plot(mins, np.array(mir.r_f)*60.0,linewidth=1, 
                        label = caseName)

    ax.set_title('System Frequency')
    ax.set_ylabel('Hz')
    ax.set_xlabel('Time [minutes]')
    ax.set_xlim(0,minEnd)
    #ax.legend(loc='upper right')#, bbox_to_anchor=(0.5, -0.2))
    ax.legend()
    ax.grid(True)
    fig.set_dpi(150)
    fig.set_size_inches(9/mini, 2.5) # single column, double height for legend below
    #fig.set_size_inches(9/2, 2.5*.75) # single column, double height for legend below
    fig.tight_layout()
    if printFigs: plt.savefig(caseName+'Fcomp'+'.pdf', dpi=300)
    plt.show(block = blkFlag)
    plt.pause(0.00001)
F of given mirrors     uses 6colors # custom color cycler # black # green # magenta # grey # orange # light blue # used to scale text # can be increased to scale width of plots ## Plot System Frequencies #ax.legend(loc='upper right')#, bbox_to_anchor=(0.5, -0.2)) # single column, double height for legend below #fig.set_size_inches(9/2, 2.5*.75) # single column, double height for legend below