File: newchie.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 (16 lines) | stat: -rw-r--r-- 732 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{ # -*- ifm -*-
  # template for new plot of chi(k)
  #   {$D->group} returns the ifeffit group name
  #   {$D->parameter} returns the value of that parameter
  #   {$P->parameter} returns the value of a Plot parameter
  $emin = $D->bkg_e0 + $P->emin;
  $emax = $D->bkg_e0 + $P->emax;
  q{}
}
set {$D->group}.eee = {$D->group}.k^2/etok+{$D->bkg_e0}
newplot({$D->group}.eee, "{$D->plot_multiplier}*{$D->group}.k^{$D->get_kweight}*{$D->group}.chi+{$D->y_offset}",
        xlabel="{$P->xlabel}", ylabel="{$P->ylabel}",
	grid, gridcolor="{$P->gridcolor}", xmin={$emin}, xmax={$emax},
	style={$P->datastyle}, color="{$P->color}", key="{$D->plotkey || $P->key}", 
	title="{$P->title}", fg="{$P->fg}", bg="{$P->bg}")
erase {$D->group}.eee