1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
{ # -*- ifm -*-
# template for overplotting in energy
# {$D->group} returns the ifeffit group name
# {$D->parameter} returns the value of that parameter
# {$P->parameter} returns the value of a Plot parameter
}
{
$file = $P->tempfile;
$scale = (($P->e_part eq 'i0') and $P->e_mu) ? $D->plot_multiplier*$D->i0_scale
: (($P->e_part eq 'signal') and $P->e_mu) ? $D->plot_multiplier*$D->signal_scale
: $D->plot_multiplier;
$S->points(file => $file,
space => 'E',
suffix => $P->e_part,
shift => $D->bkg_eshift,
scale => $scale,
yoffset => $D->y_offset
);
$thiskey = $D->plotkey || $P->key;
$thiskey =~ s{_}{\\\\_}g;
q{}
}
# {$D->name}: ifeffit group = {$D->group}
replot '{$file}' using 1:2 with {$C->default("gnuplot", "datastyle")} ls {$P->color} title "{$thiskey}"
|