Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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 but not for pm3d

share|improve this question

You must log in to answer this question.

Browse other questions tagged .