Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.graphics.apps.gnuplot > #496

Re: Gnuplot and epslatex

From Ingo Thies <ingo.thies@gmx.de>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: Gnuplot and epslatex
Date 2011-07-26 15:43 +0200
Message-ID <997ujcF93oU1@mid.individual.net> (permalink)
References <6fff9ffe-1aed-4100-8351-ce48d149e308@a10g2000yqn.googlegroups.com> <997mesFabfU1@mid.individual.net> <49800ede-5136-4b19-9138-fdf35053d29d@a12g2000vbf.googlegroups.com>

Show all headers | View raw


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

Back to comp.graphics.apps.gnuplot | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Gnuplot and epslatex Gaius Verres <c_verres@yahoo.com> - 2011-07-25 00:22 -0700
  Re: Gnuplot and epslatex Christoph Bersch <usenet@bersch.net> - 2011-07-25 10:41 +0200
    Re: Gnuplot and epslatex Gaius Verres <c_verres@yahoo.com> - 2011-07-25 02:01 -0700
      Re: Gnuplot and epslatex Christoph Bersch <usenet@bersch.net> - 2011-07-25 12:15 +0200
        Re: Gnuplot and epslatex Gaius Verres <c_verres@yahoo.com> - 2011-07-25 04:24 -0700
          Re: Gnuplot and epslatex Gaius Verres <c_verres@yahoo.com> - 2011-07-25 06:32 -0700
            Re: Gnuplot and epslatex James Waldby <not@valid.invalid> - 2011-07-25 20:30 +0000
          Re: Gnuplot and epslatex sfeam <sfeam@users.sourceforge.net> - 2011-07-25 08:09 -0700
          Re: Gnuplot and epslatex James Waldby <not@valid.invalid> - 2011-07-25 20:46 +0000
            Re: Gnuplot and epslatex Gavin Buxton <gavinbuxton@gmail.com> - 2011-07-25 16:32 -0700
              Re: Gnuplot and epslatex Gaius Verres <c_verres@yahoo.com> - 2011-07-26 02:25 -0700
                Re: Gnuplot and epslatex Christoph Bersch <usenet@bersch.net> - 2011-07-26 11:51 +0200
                Re: Gnuplot and epslatex Gaius Verres <c_verres@yahoo.com> - 2011-07-26 03:25 -0700
                Re: Gnuplot and epslatex Christoph Bersch <usenet@bersch.net> - 2011-07-26 13:03 +0200
                Re: Gnuplot and epslatex Gaius Verres <c_verres@yahoo.com> - 2011-07-26 04:13 -0700
  Re: Gnuplot and epslatex Ingo Thies <ingo.thies@gmx.de> - 2011-07-26 13:24 +0200
    Re: Gnuplot and epslatex Gaius Verres <c_verres@yahoo.com> - 2011-07-26 06:11 -0700
      Re: Gnuplot and epslatex Ingo Thies <ingo.thies@gmx.de> - 2011-07-26 15:43 +0200
        Re: Gnuplot and epslatex Gaius Verres <c_verres@yahoo.com> - 2011-08-01 02:19 -0700
          Re: Gnuplot and epslatex Gavin Buxton <gavinbuxton@gmail.com> - 2011-08-02 05:18 -0700

csiph-web