#! /bin/tcsh -f
################################################
################################################
read_file1=output__find_i_n_v_pmin.txt
read_file2=output__find_i_s_v_pmin.txt
################################################
plot_file1=angelina_pmin
plot_file2=angelina_vmax
plot_file3=brad_pmin
plot_file4=brad_vmax
################################################
plot_filename11=twc_pmin
plot_filename12=twc_vmax
################################################
################################################
gnuplot <<EOF
################################################
### double plot#################################
################################################
#pmin
set yrange [950:1020]
plot "${read_file1}" using 1:2 axis x1y1 with lines title "${plot_file1}" linetype 1 linecolor rgbcolor "red" linewidth 3,\
"${read_file2}" using 1:2 axis x1y1 with line title "${plot_file3}" linetype 1 linecolor rgbcolor "blue" linewidth 3
set xlabel "time step [h]"
set ylabel "[hPa]"
set title "${plot_filename11}"
set term postscript
set output "${plot_filename11}.ps"
replot
################################################
set yrange [0:70]
plot "${read_file1}" using 1:7 axis x1y1 with lines title "${plot_file2}" linetype 1 linecolor rgbcolor "red" linewidth 3,\
"${read_file2}" using 1:7 axis x1y1 with line title "${plot_file4}" linetype 1 linecolor rgbcolor "blue" linewidth 3
set xlabel "time step [h]"
set ylabel "[m/s]"
set title "${plot_filename12}"
set term postscript
set output "${plot_filename12}.ps"
replot
################################################
################################################
EOF
################################################
################################################
################################################
### make pdf ###################################
################################################
################################################
################################################
ps2pdf ${plot_filename11}.ps 2_${plot_filename11}.pdf
rm ${plot_filename11}.ps
ps2pdf ${plot_filename12}.ps 2_${plot_filename12}.pdf
rm ${plot_filename12}.ps
################################################
################################################
read_file1=output__find_i_n_v_pmin.txt
read_file2=output__find_i_s_v_pmin.txt
################################################
plot_file1=angelina_pmin
plot_file2=angelina_vmax
plot_file3=brad_pmin
plot_file4=brad_vmax
################################################
plot_filename11=twc_pmin
plot_filename12=twc_vmax
################################################
################################################
gnuplot <<EOF
################################################
### double plot#################################
################################################
#pmin
set yrange [950:1020]
plot "${read_file1}" using 1:2 axis x1y1 with lines title "${plot_file1}" linetype 1 linecolor rgbcolor "red" linewidth 3,\
"${read_file2}" using 1:2 axis x1y1 with line title "${plot_file3}" linetype 1 linecolor rgbcolor "blue" linewidth 3
set xlabel "time step [h]"
set ylabel "[hPa]"
set title "${plot_filename11}"
set term postscript
set output "${plot_filename11}.ps"
replot
################################################
set yrange [0:70]
plot "${read_file1}" using 1:7 axis x1y1 with lines title "${plot_file2}" linetype 1 linecolor rgbcolor "red" linewidth 3,\
"${read_file2}" using 1:7 axis x1y1 with line title "${plot_file4}" linetype 1 linecolor rgbcolor "blue" linewidth 3
set xlabel "time step [h]"
set ylabel "[m/s]"
set title "${plot_filename12}"
set term postscript
set output "${plot_filename12}.ps"
replot
################################################
################################################
EOF
################################################
################################################
################################################
### make pdf ###################################
################################################
################################################
################################################
ps2pdf ${plot_filename11}.ps 2_${plot_filename11}.pdf
rm ${plot_filename11}.ps
ps2pdf ${plot_filename12}.ps 2_${plot_filename12}.pdf
rm ${plot_filename12}.ps
0 件のコメント:
コメントを投稿