From: ianmdlvl Date: Tue, 23 Mar 2004 23:03:06 +0000 (+0000) Subject: document options X-Git-Tag: debian_version_4_0_99_0_6~12 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=chiark-utils.git;a=commitdiff_plain;h=20777c253c30f8d2b222462b74f37a45270a194b;hp=cf0ee9747debc62a3a979f3d259b25688a543955 document options --- diff --git a/scripts/gnucap2gnuplot b/scripts/gnucap2gnuplot index 904649e..9d909ca 100755 --- a/scripts/gnucap2gnuplot +++ b/scripts/gnucap2gnuplot @@ -18,8 +18,10 @@ # usage: # gnucap2gnuplot [] input-file +# # Input file should be a .cir file (will be put through gnucap) # or an output file from gnucap. +# # Produces various output files: # .gnuplots.sh run this to display results # ,.gnuplot-cmd gnuplot script for displaying: @@ -30,6 +32,12 @@ # is the count, starting at 0, of which report this is from gnucap # 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 use instead of 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 @@ -187,3 +195,5 @@ close A or die $!; $?=0; close STDIN; $? and fail("gnucap failed (code $?)"); $sof= "./$sof" unless $sof =~ m,/,; print ": generated ; $sof\n" or die $!; + +# $Id: gnucap2gnuplot,v 1.2 2004-03-23 23:03:06 ianmdlvl Exp $