%pylab inline
from pylab import *
Populating the interactive namespace from numpy and matplotlib
x=linspace(0,10,100)
y=tanh(x)
figure()
plot(x, y, 'r')
xlabel('External Magnetic Field')
ylabel('M')
title('Tanh theory')
show();
../_images/display_2_0.png


Back to top

© 2020, Lei Ma | Created with Sphinx and . | Source on GitHub | Physics Notebook Datumorphism | Index | Page Source