Skip to content

Commit

Permalink
gp_panel: arrow_*, ccsgp v5.2
Browse files Browse the repository at this point in the history
  • Loading branch information
tschaume committed Jan 23, 2014
1 parent c31431e commit ca19bd1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pyana/ccsgp
Submodule ccsgp updated 2 files
+10 −0 ccsgp.py
+24 −8 myplot.py
2 changes: 2 additions & 0 deletions pyana/examples/gp_panel.py
Expand Up @@ -23,6 +23,7 @@ def gp_panel(version):
data_type = re.sub('%s\.dat' % energy, '', file)
file_url = os.path.join(inDir, file)
data_import = np.loadtxt(open(file_url, 'rb'))
data_import = data_import[data_import[:,0] < 1.1]
if data_type == 'cocktail': data_import[:, 4] *= 0.
if energy not in data: data[energy] = [ data_import ]
else: data[energy].append(data_import)
Expand All @@ -41,6 +42,7 @@ def gp_panel(version):
xlabel = 'dielectron mass (GeV/c^{2})',
ylog = True, xr = [0, 1.1], yr = [1e-4, 20],
lmargin = 0.08, bmargin = 0.15,
arrow_length = 0.4, arrow_bar = 0.002,
gpcalls = ['mxtics 2']
)
return 'done'
Expand Down

0 comments on commit ca19bd1

Please sign in to comment.