Skip to content

Commit

Permalink
gp_rdiff: fix filename
Browse files Browse the repository at this point in the history
  • Loading branch information
tschaume committed Jan 30, 2014
1 parent 582a88f commit 35ff274
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pyana/examples/gp_rdiff.py
Expand Up @@ -88,7 +88,6 @@ def gp_rdiff(version):
# make plot
nSets = len(dataOrdered)
nSetsPlot = nSets/2 if nSets > 4 else nSets
filename = 'diffAbsMed%s' % version if nSets > 4 else 'diffAbs%s' % version
ylabel = 'data/medium' if nSets > 4 else 'data'
props = [
'lt 1 lw 4 ps 1.5 lc %s pt 18' % default_colors[i] for i in xrange(nSetsPlot)
Expand All @@ -103,7 +102,7 @@ def gp_rdiff(version):
make_plot(
data = [ np.array(d) for d in dataOrdered.values()],
properties = props, titles = titles,
name = os.path.join(outDir, filename),
name = os.path.join(outDir, 'diffAbs%s' % version),
xlabel = 'dielectron invariant mass, M_{ee} (GeV/c^{2})',
ylabel = '%s - (cocktail w/o {/Symbol \162}) ({/Symbol \264} 10^{-3})' % ylabel,
xr = [0.2,0.77], yr = [-1,9],
Expand Down

0 comments on commit 35ff274

Please sign in to comment.