close
introduction: 指令畫圖
1.plot 1D/2D figures
2.plot functions or read data-files to plot figures
3. curve fitting
start:
1. 所有指令寫再test.sh中
2.執行gnuplot test.sh 即可得到結果
=====
test.sh
set title "sin function"
set xrange[0:2*pi]
set yrange[-1:1]
set xlabel "x"
set ylabel "sin(x)"
set terminal svg
set output "test.svg"
plot[0:2*pi] sin(x)
=====
how to write functions?
f(x)=c/((x-a)*(x-a)+b)+d/sqrt(x)
or
f(x)=c/((x-a)**2+b)+d/sqrt(x)
======
how to label?
http://lavica.fesb.hr/cgi-bin/info2html?(gnuplot)label
======
good ref for commond:
http://physicspmb.ukzn.ac.za/index.php/Gnuplot_tutorial
good ref for all:
全站熱搜
留言列表