Empty space in ratio constrained gnuplot -
i trying create density plot constraint axis in gnuplot, have lot of empty space outside plot
reset set term postscript enhanced eps color set output "verif_thetak_60deg.eps" set pm3d map set size ratio -1 set xtics 0.5 set autoscale xfixmax rayon=0.35 set object 1 circle @ 0,5./2 size rayon front end fs empty border lw 3.0 set object 2 circle @ sqrt(3),5./2 size rayon front end fs empty border lw 3.0 set object 3 circle @ sqrt(3),0.5 size rayon front end fs empty border lw 3.0 set object 4 circle @ 0.5*sqrt(3),1 size rayon front end fs empty border lw 3.0 set object 5 circle @ 0.5*sqrt(3),2 size rayon front end fs empty border lw 3.0 set object 6 circle @ 0,0.5 size rayon front end fs empty border lw 3.0 splot "verif_thetak_60deg.dat" u 1:2:3 notitle
i have tried using multiplot
set origin
, working empty space circles rotated. not understand. help me? here first lines of sample data
0. 0. 1.4897029029511362 0. 0.02857142857142857 1.5198145790443847 0. 0.05714285714285714 1.6051617239962799 0. 0.08571428571428572 1.7477181570182962 0. 0.11428571428571428 1.9508130394308165 0. 0.14285714285714285 2.219107847798675 0. 0.17142857142857143 2.5584267524091646 0. 0.2 2.9078002844476583 0. 0.22857142857142856 3.261016162180486 0. 0.2571428571428571 3.61098658139621 0. 0.2857142857142857 3.9502081600876053 0. 0.3142857142857143 4.271128101449691
i have allow blank line each time first column change.
at moment image looks this:
to margins , size right requires fiddling:
first must set canvas size improve fits shape of plot e.g. set terminal postscript eps size 2in,4in
.
then must adjust lmargin
and/or bmargin
manually. requires iterations right.
as notice: upcoming version 5.0 has alternative set view map scale ...
simplifies this.
alternatively can utilize tool epstool
right bounding box:
epstool --bbox --copy --output cropped.eps original.eps
for similar question, see gnuplot: how avoid white margin in pdf through adjusting page size , other parameters.
gnuplot
No comments:
Post a Comment