Marchettibenjamin.files.wordpress.com
%matplotlib inline
from pylab import *
import numpy
from __future__ import division
import matplotlib.pyplot as plt
import matplotlib
from itertools import chain
SMALL_SIZE = 13
MEDIUM_SIZE = 22
BIGGER_SIZE = 40
plt.rc('font', size=BIGGER_SIZE) # controls default text sizes
plt.rc('axes', titlesize=BIGGER_SIZE) # fontsize of the axes title
plt.rc('axes', labelsize=BIGGER_SIZE) # fontsize of the x and y labels
plt.rc('xtick', labelsize=BIGGER_SIZE) # fontsize of the tick labels
plt.rc('ytick', labelsize=BIGGER_SIZE) # fontsize of the tick labels
plt.rc('legend', fontsize=MEDIUM_SIZE) # legend fontsize
#plt.rc('figure', titlesize=BIGGER_SIZE) # fontsize of the figure title
#Latex
plt.rc('text', usetex=True)
plt.rc('font', family='serif')
symbolsize=200
aa=loadtxt('Data.txt')
T=aa[:,0]
P=aa[:,1] #en hPa
time=aa[:,2] #en seconde
fig1 =plt.figure(figsize=(10,10))
scatter(1/(T+273.15),log(P),marker='o',s=symbolsize,alpha=0.2,zorder=0)
plot([0.002,0.003],[0.002*(-4789.751)+19.783,0.003*(-4789.751)+19.783],'k-',linewidth=3,zorder=1)
text(0.00275,6.8,'$y=-4780.7x+19.8$',size=32)
xlabel(r'$1/T$')
ylabel(r'$\ln(P)$')
xlim(0.00265,0.0029)
ylim(5.8,7)
xticks(np.arange(0.00265, 0.0031, 0.0001));
yticks(np.arange(5.8, 7.1, 0.25));
fig1.tight_layout()
savefig('1_plot.pdf',dpi=300)
................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related download
Related searches
- wordpress passing data between pages
- wordpress business templates
- wordpress rss feed not working
- wordpress jquery is not defined
- create wordpress blog
- wordpress roles editor
- wordpress full rss feed
- wordpress rss feed settings
- wordpress rss feed plugin
- wordpress display rss feed
- wordpress rss feed link
- wordpress rss feed to post