|
From: Jon <dev...@gm...> - 2010-11-08 08:25:18
|
Hello Guys,
I had asked a question concerning bounding box issue using multiplot when
generating eps to pdf by epstopdf. Now I ran into similar issues. I applied
all the helps I collected from the correspondences in the script but still
didn't fully work out. The scripts are given below,
in <plot_cmp.gu>
clear
fc='~/jcoupling/temp/cb_data_cln.txt'
f1='~/jcoupling/amb450_1/10_phi_avg_2'
type = 'NVE'
reset
load('plot_cmp.mp.gu')
in <plot_cmp.mp.gu>
set multiplot
set size 1,0.5
set origin 0,0
p [5:9] [5:9] '< paste '.fc.' '.f1 u 3:6 w p ti 'EXP vs. BC' pt 4,x noti,'<
paste '.fc.' '.f1 u 3:12 w p ti ' EXP vs. DFT' pt 3
set origin 0,0.5
p [1:77] [:8.75] f1 u 1:2 w l ti ' BC param',fc u 1:3:4 w yerrorlines ti
'EXP meas' lw 0.25,f1 u 1:8 w l ti 'DFT param'
unset multiplot
The command lines to generate ccc.eps is
gnuplot> set term postscript eps enhanced
Terminal type set to 'postscript'
Options are 'eps enhanced defaultplex \
leveldefault monochrome colortext \
dashed dashlength 1.0 linewidth 1.0 butt noclip \
palfuncparam 2000,0.003 \
"Helvetica" 14 '
gnuplot> set out 'ccc.eps'
gnuplot> load('plot_cmp.gu')
gnuplot> set out
gnuplot> set term x11
Then apply
epstopdf ccc.eps
to generate a pdf file. It gives *two* pages, of size 1,1, with the first
page blank, the second page containing only part of the two graphs. Both
ccc.eps and ccc.pdf is included for your information.
The expected result is: a single page only containing full plots of both
graphs.
I tried hard, but really cannot get any clue. Please help me on this issue!
Thank you very much,
Sincerely,
Jon
|