diff options
Diffstat (limited to 'python/makeBoundary')
| -rwxr-xr-x | python/makeBoundary | 26 | 
1 files changed, 13 insertions, 13 deletions
| diff --git a/python/makeBoundary b/python/makeBoundary index b960343..0a208a6 100755 --- a/python/makeBoundary +++ b/python/makeBoundary @@ -70,26 +70,26 @@ def conveyance(numH, n_co, xregion, zregion, zmin, zmax):      return p_i, A_i, r_h, h_i, K_i, Q_i -def plot_region(xdata, labelx, -                ydata1, labely1, -                ydata2, labely2, -                ydata3, labely3, titlep): -    plt.xlabel(labelx) -    plt.ylabel(labely1) +def plot_region(ydata, labely, +                xdata1, labelx1, +                xdata2, labelx2, +                xdata3, labelx3, titlep): +    plt.xlabel(labelx1) +    plt.ylabel(labely)      plt.title(titlep) -    plt.plot(xdata, ydata1) +    plt.plot(xdata1, ydata)      plt.show() -    plt.xlabel(labelx) -    plt.ylabel(labely2) +    plt.xlabel(labelx2) +    plt.ylabel(labely)      plt.title(titlep) -    plt.plot(xdata, ydata2) +    plt.plot(xdata2, ydata)      plt.show() -    plt.xlabel(labelx) -    plt.ylabel(labely3) +    plt.xlabel(labelx3) +    plt.ylabel(labely)      plt.title(titlep) -    plt.plot(xdata, ydata3) +    plt.plot(xdata3, ydata)      plt.show()  def save_bc(outputfile): | 
