Tell me more ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Using gnuplot, I would like to stack 5 contour plots together, meaning no white spaces between them. I can't get it to work for some reason. any help is appreciated.

#! /usr/bin/gnuplot
reset
set terminal epslatex color size 7in,2in 
set output "s.pdf"
set multiplot layout 1,5

set lmargin 0
set bmargin 0
set tmargin 0
set rmargin 0

set size square
set pm3d map

unset colorbox 
unset key

set format x "";
set format y "";
set xlabel "";
set ylabel "";
splot x*x+y*y 
splot x*x+y*y
splot x*x+y*y
splot x*x+y*y
splot x*x+y*y

unset multiplot

Is there a way to do it without adjusting a position of each plot? It works for normal plots like here http://gibuu.physik.uni-giessen.de/GiBUU/wiki/HowToGnuplotStacked but not for pm3d.

share|improve this question
1  
This might make more sense on SuperUser—while gnuplot feels like a friend of TeX (with the right packages), I imagine you'd get a higher number of knowledgeable gnuplot users there (though I don't use the site myself). – Antal S-Z Dec 5 '10 at 22:05
As posed this question has nothing to do with TeX, so I'm voting to close. I am unsure what the correct site for pure gnuplot questions is, either StackOverflow or SuperUser. Both have lots of gnuplot questions. – Caramdir Dec 5 '10 at 22:58
i moved the question to superuser superuser.com/questions/218808/… – kirill_igum Dec 5 '10 at 23:48
As you've already moved it, I've just closed this as "off topic". – Andrew Stacey Feb 8 '11 at 9:28

closed as off topic by Andrew Stacey Feb 8 '11 at 9:27

Questions on TeX - LaTeX Stack Exchange are expected to relate to TeX, LaTeX or related typesetting systems within the scope defined in the FAQ. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about closed questions here.

Browse other questions tagged or ask your own question.