Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A few quick quickmodel updates #104

Merged
merged 3 commits into from
May 20, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion scripts/quickmodel.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
# or
# python quickmodel.py --inputs 'inputs_spectra_example' --type 'spectra'

import matplotlib
matplotlib.use('Agg')

from assaytools import parser
import matplotlib.pyplot as plt
import string
Expand Down Expand Up @@ -137,7 +140,7 @@ def quick_model(inputs, nsamples=1000, nthin=20):
plt.axvline(x=DeltaG_map,color='black')
plt.xlabel('$\Delta G$ ($k_B T$)',fontsize=16);
plt.ylabel('$P(\Delta G)$',fontsize=16);
plt.xlim(-35,-10)
plt.xlim(-20,-8)
hist_legend = mpatches.Patch(color=(0.7372549019607844, 0.5098039215686274, 0.7411764705882353),
label = '$\Delta G$ = %.3g [%.3g,%.3g] $k_B T$'
%(interval[1],interval[0],interval[2]) )
Expand Down