Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Ingo Thies Newsgroups: comp.graphics.apps.gnuplot Subject: Re: Gnuplot and epslatex Date: Tue, 26 Jul 2011 15:43:08 +0200 Lines: 48 Message-ID: <997ujcF93oU1@mid.individual.net> References: <6fff9ffe-1aed-4100-8351-ce48d149e308@a10g2000yqn.googlegroups.com> <997mesFabfU1@mid.individual.net> <49800ede-5136-4b19-9138-fdf35053d29d@a12g2000vbf.googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: individual.net thbNmnQwn9xjALFTaRPMgg37YbDnIk0TL0HcUuMEixYvv5Ibwg Cancel-Lock: sha1:YfEv9wvt7TyXUD6YNtj6XJ9W8WE= User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.18) Gecko/20110617 Thunderbird/3.1.11 In-Reply-To: <49800ede-5136-4b19-9138-fdf35053d29d@a12g2000vbf.googlegroups.com> Xref: x330-a1.tempe.blueboxinc.net comp.graphics.apps.gnuplot:496 On 26.07.2011 15:11, Gaius Verres wrote: > OK, how do I use this "set {r,l,t,b}margin screen {coordinates}"? I > couldn't found it in the docu. In the gnuplot.pdf of version 4.4 http://www.gnuplot.info/documentation.html it is described on page 119f. Basically, if you want to divide the screen onto two plots stacked above each other with 20% of the space is left for the x and y axis labels (just as an example), the commands look like plot 1 (top) set lmargin at screen 0.2 set rmargin at screen 1.0 set bmargin at screen 0.6 set rmargin at screen 1.0 plot 2 (bottom) set lmargin at screen 0.2 set rmargin at screen 1.0 set bmargin at screen 0.2 set rmargin at screen 0.6 The space of 0.2 screen (or canvas) units to the left and below is reserved for the labels in this example. You have to adjust these label margins yourself (0.2 is just for illustration here and might be way too large), as well as the canvas dimensions. In your case, there are more frames the plotting canvas is to be divided into. Since I had these multiplot problems earlier, I have written some gnuplot scripts that make this a bit easier (but basically makes use of this explicit margin placement). See http://www.astro.uni-bonn.de/~ithies/gnuplot/mplayout/ including an example driver with the required variables set (just play around with them). It's still under development, and many improvements may be possible, but maybe it's of some help to you. Best wishes Ingo