################################################
#### Unnecessarily Fancy Plotting Stuff ####
################################################
### For more information on plots in general, evaluate 'plot?'
### For a list of legend options, evaluate 'a.set_legend_options?'
### For a list of Sage predefined colors, evaluate 'sorted(colors)'
### USER-DEFINED PARAMETERS
title = "Enzymatic Reaction Kinetics" ## Graph Title
legend_labels = ['[S]','[E]','[ES]','[P]'] ## Legend Labels
colors = ['red','orange','yellow','green','blue'] ## Legend Colors
x_label = 'time' ## X-axis label
y_label = 'concentration' ## Y-axis label
### Create a plot object
a = plot([])
a.axes_labels([x_label,y_label])
# a.set_axes_range(xmin=0,xmax=150,ymin=0,ymax=10)
### Add the desired lines to the plot
for i in range(0,len(sols)):
a += list_plot(sols[i],color=colors[mod(i,len(colors))],legend_label=legend_labels[i])
### Set the plot parameters
a += text(title,(a.xmax()/1.8,a.ymax()),color='black',fontsize=15)
#a.axes_label_color('grey')
#a.set_legend_options(ncol=round(len(legend_labels)/2),borderaxespad=5,back_color='whitesmoke',fancybox=true)
#show(a)