def plot_strat(fignum, data, labels):
    """
     plots a time/depth series
     Parameters
     _________
     fignum : matplotlib figure number
     data : nested list of [X,Y] pairs
     labels : [xlabel, ylabel, title]
    """
    vertical_plot_init(fignum, 10, 3)
    xlab, ylab, title = labels[0], labels[1], labels[2]
    X, Y = [], []
    for rec in data:
        X.append(rec[0])
        Y.append(rec[1])
    plt.plot(X, Y)
    plt.plot(X, Y, 'ro')
    plt.xlabel(xlab)
    plt.ylabel(ylab)
    plt.title(title)
def plot_strat ( fignum , data , labels ) : vertical_plot_init ( fignum , 10 , 3 ) xlab , ylab , title = labels [ 0 ] , labels [ 1 ] , labels [ 2 ] X , Y = [ ] , [ ] for rec in data : X . append ( rec [ 0 ] ) Y . append ( rec [ 1 ] ) plt . plot ( X , Y ) plt . plot ( X , Y , 'ro' ) plt . xlabel ( xlab ) plt . ylabel ( ylab ) plt . title ( title )
plots a time/depth series
     Parameters
     _________
     fignum : matplotlib figure number
     data : nested list of [X,Y] pairs
     labels : [xlabel, ylabel, title]