#! /bin/bash # Last edited on 2006-02-28 13:46:46 by stolfi cmd="${0##*/}" usage="${cmd} NAME NSEQS SZSEQ" # Plots a power spectrum which is read from file "{NAME}.pot". The # encapsulated Postscript output is written to "{NAME}-pot.eps". # Assumes that the spectrum was obtained by averaging the power # spectra of {NSEQS} DNA sequences, with {SZSEQ} samples each. if [ $# -ne 3 ]; then echo "usage: ${usage}"; exit 1 fi name="$1"; shift; nseqs="$1"; shift; szseq="$1"; shift; echo "plotting ${name}.pot -> ${name}-pot.ps" gnuplot <