diff options
author | rahulp13 | 2021-01-07 07:55:48 +0530 |
---|---|---|
committer | rahulp13 | 2021-01-07 07:55:48 +0530 |
commit | 088203b088a02eabb4606dc734e901b81f237b11 (patch) | |
tree | ebe9109661a149c82fc66599a6ce8103637d0b4a /Windows/spice/examples/various/dc_loop.sp | |
parent | ac223c4a69c701ad0a247401acdc48b8b6b6dba6 (diff) | |
download | eSim-088203b088a02eabb4606dc734e901b81f237b11.tar.gz eSim-088203b088a02eabb4606dc734e901b81f237b11.tar.bz2 eSim-088203b088a02eabb4606dc734e901b81f237b11.zip |
removed outdated dependencies
Diffstat (limited to 'Windows/spice/examples/various/dc_loop.sp')
-rw-r--r-- | Windows/spice/examples/various/dc_loop.sp | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/Windows/spice/examples/various/dc_loop.sp b/Windows/spice/examples/various/dc_loop.sp deleted file mode 100644 index 19511593..00000000 --- a/Windows/spice/examples/various/dc_loop.sp +++ /dev/null @@ -1,48 +0,0 @@ -testing loops -*variables are global -*vector reside only in the plot where they where created - -R1 r2 0 r = {5k + 50*TEMPER} -V1 r2 0 1 - -.control -*create a new plot as our base plot -setplot new -set curplottitle = "crossplot" -set plotname=$curplot - -* generate vector with all (here 30) elements -let result=vector(30) -* reshape vector to format 5 x 6 -reshape result [5][6] -* vector to store temperature -let tvect=vector(5) - -*index for storing in vectors tvect and result -let index = 0 - -foreach var -40 -20 0 20 40 - set temp = $var - dc v1 0 5 1 - *store name of the actual dc plot - set dcplotname = $curplot - * back to the base plot - setplot $plotname - let result[index] = {$dcplotname}.v1#branch - let tvect[index] = $var - settype current result - let index = index + 1 - destroy $dcplotname -end - -settype temp-sweep tvect -setscale tvect - -transpose result - -plot result -write dc_loop.out result[0] result[1] result[2] result[3] result[4] result[5] - -.endc - -.end |