File: overdiff.tmpl

package info (click to toggle)
libdemeter-perl 0.9.27%2Bds6-9
  • links: PTS, VCS
  • area: contrib
  • in suites: forky, sid, trixie
  • size: 74,028 kB
  • sloc: perl: 73,233; python: 2,196; makefile: 1,999; ansic: 1,368; lisp: 454; sh: 74
file content (19 lines) | stat: -rw-r--r-- 625 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{ # -*- ifm -*-
  # template for overplotting an LCF fit 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;
  $S->points(file    => $file,
             space   => 'diff', 
 	     suffix  => 'diff',
	     yoffset => $D->y_offset,
	    );
  $thiskey = $S->name || "difference";
  $thiskey =~ s{_}{\\\\_}g;
  q{}
}
# Difference plot {$S->standard->name} - {$D->name}
replot '{$file}' using 1:2 with {$C->default("gnuplot", "datastyle")} ls {$P->increm+1} title "{$thiskey}"