Changes

Jump to navigation Jump to search

Relax disp.spin lock offset+field figure

148 bytes added, 17:35, 6 November 2015
→‎See also: Fix for the category.
{{lowercase title}}
 
__TOC__
 
== Reference to original figure ==
Comparing to Figure 1 and 10 the reference.: Palmer, A.G. & Massi, F. (2006). Characterization of the dynamics of biomacromolecules using rotating-frame spin relaxation NMR spectroscopy. Chem. Rev. 106, 1700-1719 * {{#lst:Citations|PalmerMassi06}}
[http[File://dxFig1 Palmer Massi 2006.doipng|thumb|center|upright=4|Try to reproduce Figure 1.org/10.1021/cr04042875 DOI]]
== Script to produce figure ==
<source {{collapsible script| type = Python script| title = Reproduce figure 1 of Palmer and Massi, 2006 using matplotlib.| lang ="python">| script =
#############
# Made by Troels E. Linnet
# Make Sx
x, y, z = Sx
Sx = Arrow3D([-1, x],[0, y], [0, z], mutation_scale=20, lw=1, arrowstyle="-|{{!}}>", color="k")
ax.add_artist(Sx)
# Make Sy
x, y, z = Sy
fSy = Arrow3D([0, x],[1, y], [0, z], mutation_scale=20, lw=1, arrowstyle="-|{{!}}>", color="k")
ax.add_artist(fSy)
# Make Sz
x, y, z = Sz
fSz = Arrow3D([0, x],[0, y], [-1, z], mutation_scale=20, lw=1, arrowstyle="-|{{!}}>", color="k")
ax.add_artist(fSz)
# Make Szp
x, y, z = Szp
fSzp = Arrow3D([0, x],[0, y], [0, z], mutation_scale=20, lw=3, arrowstyle="-|{{!}}>", color="k")
ax.add_artist(fSzp)
# Make Sxp
x, y, z = Sxp
fSxp = Arrow3D([0, x],[0, y], [0, z], mutation_scale=20, lw=3, arrowstyle="-|{{!}}>", color="k")
ax.add_artist(fSxp)
# Make we1
x, y, z = we1
fwe1 = Arrow3D([0, x],[0, y], [0, z], mutation_scale=20, lw=1, arrowstyle="-|{{!}}>", color="b")
ax.add_artist(fwe1)
# Make we
x, y, z = we
fwe = Arrow3D([0, x],[0, y], [0, z], mutation_scale=20, lw=1, arrowstyle="-|{{!}}>", color="r")
ax.add_artist(fwe)
fig.canvas.mpl_connect('button_release_event', update_position)
plt.show()
</source>}} == See also == [[Category:Relaxation dispersion analysis]]
Trusted, Bureaucrats
4,223

edits

Navigation menu