友意白雑記帳

だいたい自分用の覚え書き

gnuplot

MEMO and materials in fortran 90

This is my MEMO for coding materials in Fortran 90. Append data to the existing file Sequential names for output files Output with the fixed filename Save-and-load routine Random-number generator according to the date and time Recording th…

<gnuplot script> Many_lines_and_symbols.gnu

set size 0.7, 0.7 d=40 p[22:29][] \"Sig_PA_EXP_50Ti.dat" u 1:($2+d*1) w lp lt 1 pt 1 dt 1 lc "black" ti "1", \"Sig_PA_EXP_50Ti.dat" u 1:($2+d*2) w lp lt 2 pt 2 dt 2 lc "black" ti "2", \"Sig_PA_EXP_50Ti.dat" u 1:($2+d*3) w lp lt 3 pt 3 dt 3…

<gnuplot script> plfit_p32.gnu

set style line 1 lt 1 lw 2 lc rgb 'black'set style line 2 lt 2 lw 2 lc rgb 'red'set style line 3 lt 3 lw 2 lc rgb 'blue'set style line 4 lt 4 lw 2 lc rgb 'purple'set style line 5 lt 5 lw 2 lc rgb 'magenta'set style line 6 lt 6 lw 2 lc rgb …

<gnuplot script> plot_eps.gnu

#set title "IV E1 (K=0,1), SkM* for ph, Mixed delta pairing for pp"#set title "" #set size 0.6, 0.6 #set xlabel "E (MeV)"#set xlabel "E (MeV), with \Gamma = 1.0 (MeV)" #set ylabel "S_{IVD}(E) (e^2*fm^2/MeV)"#set ylabel "dB_{IVD,K}/dE (e^2*…

<gnuplot script> Multiplotter_Column.gnu

resetunset label set style line 1 lt 1 pt 6 lw 2 lc rgb 'black'set style line 2 lt 1 pt 8 lw 2 lc rgb 'red'set style line 3 lt 1 pt 4 lw 2 lc rgb 'blue'set style line 9 lt 2 lw 2 lc rgb 'black' sr0 = 0.6sx1 = 1.0*sr0sx = sx1sy1 = 1.0*sr0 ;…

Multi-plotting script for GNUPLOT

gnuplotで複数窓のプロットを同時に行うための台本。論文用で多数のプロットが必要なときにどうぞ。 set xlabel "A"set size 1.0,0.8set terminal postscript eps enhanced color font "Century, 14"set output "| epstopdf -f -o=hogee.pdf"###############…

How to change colours in 3D plots? gnuplotで3D図の色を変える

今でも3Dの図を描くときにはgnuplotを使っている。今回、描画時の色スケールを変えたくなったので、そのやり方をメモしておく。以下がサンプルファイル。 #<><><><><><><><><>top of "plot3d_test.gnu" set size ratio 1.0 #Use the same size for x&y.f=100…

Standard sample of plotting script for GNUPLOT

#---Line stylesset linestyle 91 lc "purple" lw 2 dt 1set linestyle 93 lc "blue" lw 2 dt 2#---Setting optionsset key right topset xlabel "E [MeV]"; set xtics 0,5,100set ylabel "dB_{M1}/dE [{/Symbol m}^2_{N}/MeV]"set size 0.7, 1.2set label 3…