def METHOD_NAME(x, y, t, start, end, label, show=False):
    '''
    plot two curves for comparison
    '''
    #print(np.shape(x), np.shape(y), np.shape(t))
    plt.figure()
    plt.plot(t, y)
    plt.plot(t, x)
    plt.xlabel('t [s]')
    plt.ylabel(label)
    plt.figure()
    plt.plot(x[start:end], y[start:end])
    plt.xlabel('command [pprz]')
    plt.ylabel(label)
    if show:
        plt.show()