diff options
author | rahulp13 | 2020-03-03 05:31:58 +0530 |
---|---|---|
committer | rahulp13 | 2020-03-03 05:31:58 +0530 |
commit | dfc268e0863c913a1b8726cd54eea3b40caf7c67 (patch) | |
tree | 1cd82634684da5ae86b558d44756189e080545d4 /Windows/spice/share/ngspice/scripts/setplot | |
parent | fd62c52150c7d1f81da8060b2f5db6b94d174ccf (diff) | |
download | eSim-dfc268e0863c913a1b8726cd54eea3b40caf7c67.tar.gz eSim-dfc268e0863c913a1b8726cd54eea3b40caf7c67.tar.bz2 eSim-dfc268e0863c913a1b8726cd54eea3b40caf7c67.zip |
upgrade ngspice to v31
Diffstat (limited to 'Windows/spice/share/ngspice/scripts/setplot')
-rw-r--r-- | Windows/spice/share/ngspice/scripts/setplot | 64 |
1 files changed, 0 insertions, 64 deletions
diff --git a/Windows/spice/share/ngspice/scripts/setplot b/Windows/spice/share/ngspice/scripts/setplot deleted file mode 100644 index 38ca0da1..00000000 --- a/Windows/spice/share/ngspice/scripts/setplot +++ /dev/null @@ -1,64 +0,0 @@ -* set the current working plot -.control - -begin - unset resp - if $argc - set resp = $argv[1] - else - if $?plots = 0 - echo Error: there aren\'t any plots currently loaded. - goto bottom - else - if $#plots = 0 - echo Error: there aren\'t any plots currently loaded. - goto bottom - end - end - - if $?resp = 0 - set oldplot = $curplot - echo ' Type the name of the desired plot:' - echo '' - echo ' new New plot' - foreach pl $plots - set curplot = $pl - strcmp i $pl $oldplot - if $i = 0 - echo "Current $pl $curplottitle ({$curplotname})" - else - echo " $pl $curplottitle ({$curplotname})" - end - end - set curplot = $oldplot - echo -n '? ' - set resp = $< - end - end - - - strcmp i $resp "" - if $i = 0 - goto bottom - end - - strcmp i $resp new - if $i = 0 - set curplot = new - goto bottom - end - - foreach pl $plots - strcmp i $resp $pl - if $i = 0 - set curplot = $pl - goto bottom - end - end - - echo Error: no such plot name $resp - - label bottom - - unset resp i pl newflag oldplot -end |