Skip to content

Instantly share code, notes, and snippets.

@kperry2215
Created July 4, 2019 22:46
Show Gist options
  • Save kperry2215/8fbca2131fc7dfbfcfa469888b54e245 to your computer and use it in GitHub Desktop.
Save kperry2215/8fbca2131fc7dfbfcfa469888b54e245 to your computer and use it in GitHub Desktop.
#Declare the x- and y- variables that we want to plot against each other
y_variables=[desired_product_type, "Hyperbolic_Predicted", "Exponential_Predicted"]
x_variable='Days_Online'
#Create the plot title
plot_title=desired_product_type+' Production for Well API '+str(api_number)
#Plot the data to visualize the equation fit
plot_actual_vs_predicted_by_equations(production_time_series, x_variable, y_variables, plot_title)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment