Adjacent or side by side graphs from the Gnuplot terminal - latex

Following the Gnuplot tutorial : how can I post graphics, output using a latex terminal, side by side; or in a 2x2 grid? At the moment I have 4 graphics by default. Will I also have to manually resize each one?

\begin{figure}
  \begin{center}
    \input{plot}
  \end{center}
\end{figure}
+3
source share
1 answer

Well, if you use a multiplexer, look at this . Below is a small example:

set key off

set multiplot layout 2,2
plot x**2
plot -x**2
plot x**3
plot -x**3
unset multiplot

Hope this helped.

+3
source

All Articles