2020年2月16日 星期日

C Shell -- Calculation

This script was written for plot all 8x8 ccst tables.

#!/bin/csh

set i = 1
while ($i < 65)
            cp CCST.$i CCST.print
            cp VOLTAGE.$i VOLTAGE.print
            echo $i
            gunplot print_all_ccst.gp
            @ i = $i + 1
               ^
end


#### print_all_ccst.gp ####
#!/usr/bin/gnuplot

plot "CCST.print" using 1:2 with linespoints title "CCST"
pause mouse "click any mouse button on selected data point"
plot "VOLTAGE.print" using 1:2 with linespoints title "VOLTAGE"
pause mouse "click any mouse button on selected data point"

沒有留言:

張貼留言

標籤