|
From: Jon <dev...@gm...> - 2010-11-21 03:48:28
|
Dear All, I had problem with creating an eps file differing from the default canvas size. I used the following command, which partially does the job, but it seems I have to scale all other size dependent quantities as well to maintain the relative ratio, which is too troublesome. I am sure there must be better way to do it, The following are my sample code set macro ratio = "2" set size @ratio,@ratio set term postscript eps enhanced color solid set out 'aaa.eps' set multiplot set size 0.475*ratio,0.475*ratio set origin 0.025*ratio,0.025*ratio set tmargin 1;set lmargin 5;set rmargin 0;set bmargin 2.5 # did not change to relative size set label 2 at graph 0.05,0.925 'something' font "Times-Roman,15" p ... set origin 0.525*ratio,0.025*ratio set tmargin 1;set lmargin 2;set rmargin 1;set bmargin 2.5 set label 2 at graph 0.05,0.925 'something' font "Times-Roman,15" # did not change to relative size p .... set origin 0.025*ratio,0.525*ratio set tmargin 1;set lmargin 5;set rmargin 0;set bmargin 0 set label 2 at graph 0.05,0.925 'something' font "Times-Roman,15" # did not change to relative size p .... set origin 0.525*ratio,0.525*ratio set tmargin 1;set lmargin 2;set rmargin 1;set bmargin 0 set label 2 at graph 0.05,0.925 'something' # did not change to relative size p .... unset multiplot set out The outcome is that the actual size of the canvas is controlled by ratio, but font size, relative margins are still kept as if the size were default. Any solution to that except for changing size everywhere? Thanks, Sincerely, Jun |