PramitKumar Pal
08/04/2023, 5:06 PM.OPTIONS CHGTOL=1.0e-17 method=gear
.temp 27
.param ton = 2n
.param vip = 0.05
.param shift = 0.05
.control
option seed = 1
let mc_runs = 5
let run = 1
set o2_node = ' '
reset
dowhile run < = mc_runs
save all
tran 100p 100n uic
let vdiff = v(o2)-v(o1)
set o2_node = ( $o2_node {$curplot}.vdiff )
let run = run + 1
reset
end
** loop end, start plotting **
set color0 = white
set xbrushwidth=2 ; increase linewidth of graphs
plot $o2_node ; plot all 27 magnitudes
.endc