-# This is gnucap2gnuplot, which is Copyright 2004 Ian Jackson.
-# It's a script to postprocess the output from gnucap and then run gnuplot.
-#
-# gnucap2gnuplot and its documentation are free software; you can
-# redistribute them and/or modify them under the terms of the GNU
-# General Public License as published by the Free Software Foundation;
-# either version 2, or (at your option) any later version.
-#
-# gnucap2gnuplot and its documentation are distributed in the hope that
-# they will be useful, but WITHOUT ANY WARRANTY; without even the
-# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
-# PURPOSE. See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-
-# usage:
-# gnucap2gnuplot [<options>] input-file
-#
-# Input file should be a .cir file (will be put through gnucap)
-# or an output file from gnucap.
-#
-# Produces various output files:
-# <input-file>.gnuplots.sh run this to display results
-# <input-file>,<Kind><N>.gnuplot-cmd gnuplot script for displaying:
-# <input-file>,<Kind><N>-<M>.gnuplot-data gnuplot-format input data
-# <input-file>,gnuplot-fifo working fifo for .gnuplots.sh
-# where
-# <Kind> is Freq or Time (according to the type of analysis)
-# <N> is the count, starting at 0, of which report this is from gnucap
-# <M> is the individual column of Y data
-#
-# Options
-# -g do run gnucap ) default is run gnucap
-# -G don't run gnucap ) if input file ends in .cir
-# -o<prefix> use <prefix> instead of <input-file> in output filenames
-# If the input file is `-' then you may not specify -g and must use -o.
-#
-# Limitations
-#
-# Only Freq (.AC) and Time (.TRAN) plots have been tested. If
-# other types go wrong they can probably be fixed by adding code for
-# them to startplot().
-#
-# Displaying voltages and currents on the same .TRAN graph won't work
-# well because they currently have to have the same Y scale. This
-# could be fixed by assigning carefully to $mmm in startplot().
-#
-# It's a bit clumsy.
-#
-# There's no easy way to mess with the gnuplot settings.