|
From: Daniel J S. <dan...@ie...> - 2005-01-09 21:28:13
|
Harald Harders wrote: >>> #713166 margins changed from int to float >>> >> > set terminal postscript eps 'Times-Roman' 22 > set output 'margins-1.eps' > set bmargin 1 > plot sin(x) > set output > set output 'margins-2.eps' > set bmargin 2 > plot sin(x) > set output > > You either crop the xtics or you have white space below them. > > I think that was pretty much the reason for the patch. When importing a figure, it's easier to add white space than to remove it. Removing it, in LaTeX at least, is slightly trial and error, but also I think it will end up causing warning messages because the figure might be slightly too big even, though it may be white space hanging over the edge of a margin. > This is one of my major problems I have using Gnuplot. My current > workaround is to use multiplot: > > ... > set multiplot > set size ... > set origin ... > set lmargin 0 > set bmargin 0 > set tmargin 0 > set rmargin 0 > plot ... > unset multiplot > > By variing the inner size and origin, I adjust the margins. But this is a > bad hack. > > I recall a bit of discussion about this alternative. I too am not real happy with the solution because, again, there is too much trial and error. It always feels like a major undertaking to layout the plots. It's nice to be able to fall back on precise positioning, but it's also nice to be able to slightly tweak something that is almost what one wants. Even "set bmargin #" is trial and error, but not too bad. I'd be open to a nicer, more obvious syntax. Maybe bmargin could be the amount of white space and then the xlabel would start right where the whitespace ends. Could make for tricky programming across terminals, however. Dan |