Pages

mardi 24 janvier 2012

multiple figures in one figure by GNUPLOT

#!/usr/bin/gnuplot


## This is to plot one figure use a file mrb18248101.txt and its 5th column
#gnuplot << EOF


# this line  is very important: it can save the figures to the harddrive !!
set terminal postscript eps color enhanced



set output "cumul_ste_sta_mrb_ctra1_CONTRAINTE_MRB_DIRD_stella_orig.eps"
set size 3.0,2.5
set rmargin 0
set lmargin 0
set tmargin 0
set bmargin 0
set multiplot


#set title "cumul_ste_sta_mrb_ctra1_CONTRAINTE_MRB_DIRD_stella_orig"
set size 2.8,0.6
set ytics -0.03,0.01,0.03
set origin 0.1,1.8
set ylabel "dX"

plot "SX_92201M007.cumul_ste_sta_mrb_ctra1_CONTRAINTE_MRB_DIRD_stella_orig" using 8:4 title "Mobilas" w l,"SX_92201M017.cumul_ste_sta_mrb_ctra1_CONTRAINTE_MRB_DIRD_stella_orig" using 8:4 title "SLUM" w l


set ylabel "dY"
set size 2.8,0.6
set origin 0.1,0.9
set ytics -0.03,0.01,0.03
plot "SY_92201M007.cumul_ste_sta_mrb_ctra1_CONTRAINTE_MRB_DIRD_stella_orig" using 8:4 title "Mobilas" w l,"SY_92201M017.cumul_ste_sta_mrb_ctra1_CONTRAINTE_MRB_DIRD_stella_orig" using 8:4 title "SLUM" w l


set ylabel "dZ"
set size 2.8,0.6
set origin 0.1,0.1
set ytics -0.03,0.01,0.03
plot "SZ_92201M007.cumul_ste_sta_mrb_ctra1_CONTRAINTE_MRB_DIRD_stella_orig" using 8:4 title "Mobilas" w l,"SZ_92201M017.cumul_ste_sta_mrb_ctra1_CONTRAINTE_MRB_DIRD_stella_orig" using 8:4 title "SLUM" w l
#set xlabel "cumul_ste_sta_mrb_ctra1_CONTRAINTE_MRB_DIRD_stella_orig"

set nomultiplot

Aucun commentaire:

Enregistrer un commentaire