2018年3月25日 星期日

gnuplot plot example for sim.print and CCST

1.
#!/usr/bin/gnuplot

set ylabel "voltage"
set xlabel "time"
plot "sim.print" using 1:2 with linespoints title "v(ZN)"

set ylabel "current"
plot "sim.print" using 1:3 with linespoints title "i(VZN)"

set ylabel "voltage+current"
plot "sim.print" using 1:2 with linespoints title "v+i", "sim.print" using 1:3 with linespoints title "i(VZN)"

plot "sim.print" using 1:2:3 title "v+i"

2.
set xrange [-2:52]
set yrange [0:0.12]

3.
plot 'battery.dat' using 1:($2*1000):($3*1000)

沒有留言:

張貼留言

標籤