X-Git-Url: http://mmka.chem.univ.gda.pl/gitweb/?a=blobdiff_plain;f=files%2Fplot_saxs.py;h=834e842a093b3a60e9bee3dbd97c19d712066c67;hb=322f15af60c70fccda4adeedd0dab84553880f3b;hp=d1ff7f648ed1816c856d5e3d143ca447f04df07f;hpb=a3b7f27a81cf442cdeeaff5b9c9b52298c282f5a;p=django_unres.git diff --git a/files/plot_saxs.py b/files/plot_saxs.py index d1ff7f6..834e842 100755 --- a/files/plot_saxs.py +++ b/files/plot_saxs.py @@ -9,6 +9,9 @@ import numpy as np import sys import os.path +matplotlib.rc('font', size=15) +matplotlib.rc('legend', fontsize=15) + x,y= np.loadtxt('saxs.data',usecols=(0,1),unpack=True) x1,y1= np.loadtxt('MODEL1_saxs.data',usecols=(0,2),unpack=True) x2,y2= np.loadtxt('MODEL2_saxs.data',usecols=(0,2),unpack=True) @@ -18,7 +21,7 @@ x5,y5= np.loadtxt('MODEL5_saxs.data',usecols=(0,2),unpack=True) plt.clf() -plt.xlabel('r') +plt.xlabel(r'r [$\AA$]') plt.ylabel('P(r)') plt.xlim(x[0], x[-1]) plt.plot(x,y,'-',color='black')