[plotstyle] bendalab colors
This commit is contained in:
@@ -23,7 +23,7 @@ if __name__ == "__main__":
|
||||
fig = plt.figure()
|
||||
spec = gridspec.GridSpec(nrows=1, ncols=2, **adjust_fs(fig, left=4.5))
|
||||
ax1 = fig.add_subplot(spec[0, 0])
|
||||
ax1.plot(xx, yy, colors['red'], lw=2)
|
||||
ax1.plot(xx, yy, **ls['A1'])
|
||||
ax1.scatter(x, y, c=colors['blue'], edgecolor='white', s=50)
|
||||
ax1.set_xlabel('Hair deflection', 'nm')
|
||||
ax1.set_ylabel('Conductance', 'nS')
|
||||
@@ -35,7 +35,7 @@ if __name__ == "__main__":
|
||||
ax2 = fig.add_subplot(spec[0, 1])
|
||||
xg = np.linspace(-3.0, 3.01, 200)
|
||||
yg = st.norm.pdf(xg, 0.0, sigma)
|
||||
ax2.plot(xg, yg, colors['red'], lw=2)
|
||||
ax2.plot(xg, yg, **ls['A1'])
|
||||
bw = 0.25
|
||||
h, b = np.histogram(y-boltzmann(x, x0, k), np.arange(-3.0, 3.01, bw))
|
||||
ax2.bar(b[:-1], h/np.sum(h)/(b[1]-b[0]), fc=colors['yellow'], width=bar_fac*bw, align='edge')
|
||||
|
||||
Reference in New Issue
Block a user