Skip to content

Commit

Permalink
make example code match new images
Browse files Browse the repository at this point in the history
  • Loading branch information
jimrybarski committed Mar 28, 2017
1 parent 8d0d117 commit d280c0e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ plt.figure(figsize=(5,5))
plt.plot(x,y, label='fit', zorder=0)
plt.plot(concentrations, fluorescence, 'o', label='data', color='black', markersize=4)
text = plt.text(40, 20, "$k_{d}=%.1f \pm %.1f\ nM$" % (kd, kd_stddev), fontsize=18)
plt.xlabel("Protein, nM", fontsize=18)
plt.xlabel("Protein (nM)", fontsize=18)
plt.ylabel("Fluorescence (A.U.)", fontsize=18)
```
![hyperbolic fit](hyperbolic-fit.png)
Expand Down Expand Up @@ -62,7 +62,7 @@ plt.plot(concentrations, fluorescence, 'o', label='data', color='black', markers
plt.text(50, 6, "$k_{d}=%.1f \pm %.1f\ nM$" % (kd, kd_stddev), fontsize=18)
plt.text(50, 5.2, "$[L]=%.1f \pm %.1f\ nM$" % (constant, constant_stddev), fontsize=18)
plt.suptitle("Quadratic Fit", fontsize=18)
plt.xlabel("Protein, nM", fontsize=18)
plt.xlabel("Protein (nM)", fontsize=18)
plt.ylabel("Fluorescence (A.U.)", fontsize=18)
```
![quadratic fit](quadratic-fit.png)

0 comments on commit d280c0e

Please sign in to comment.