Minipage/subfigure issue - creating a set of 4x3 graphs (12 total)

by bru1987   Last Updated August 08, 2018 13:23 PM

I am trying to fix a 4 by 3 set of graphs, with caption, on a .tex file. The result I want to achieve is the following:

enter image description here

(this was done in Word. Yes, that's lame, I know.)

The code for each small graph is the following:

\begin{tikzpicture}
\draw[help lines, color=gray!30, dashed] (-4.9,-4.9) grid (4.9,4.9);
\draw[->,ultra thick] (-5,0)--(5,0) node[right]{$x$};
\draw[->,ultra thick] (0,-5)--(0,5) node[above]{$y$};...
\end{tikzpicture}

I've tried a bunch of subfigure/minipage options but the result I am getting is far from ideal (below)

\begin{minipage}[b]{0.3\linewidth}
\centering
\begin{tikzpicture}
\draw[help lines, color=gray!30, dashed] (-4.9,-4.9) grid (4.9,4.9);
\draw[->,ultra thick] (-5,0)--(5,0) node[right]{$x$};
\draw[->,ultra thick] (0,-5)--(0,5) node[above]{$y$};...
\end{tikzpicture}
\end{minipage}%%
\begin{minipage}[b]{0.3\linewidth}
    \centering
    \begin{tikzpicture}
    \draw[help lines, color=gray!30, dashed] (-4.9,-4.9) grid (4.9,4.9);
    \draw[->,ultra thick] (-5,0)--(5,0) node[right]{$x$};
    \draw[->,ultra thick] (0,-5)--(0,5) node[above]{$y$};...
    \end{tikzpicture}
\end{minipage} 
\begin{minipage}[b]{0.3\linewidth}
    \centering
    \begin{tikzpicture}
    \draw[help lines, color=gray!30, dashed] (-4.9,-4.9) grid (4.9,4.9);
    \draw[->,ultra thick] (-5,0)--(5,0) node[right]{$x$};
    \draw[->,ultra thick] (0,-5)--(0,5) node[above]{$y$};...
    \end{tikzpicture}
\end{minipage}%%

enter image description here



Related Questions


How can I make a graph like this?

Updated April 02, 2017 03:23 AM

Animated plotting with LaTex?

Updated June 03, 2017 21:23 PM

EMF figures in LaTex

Updated December 06, 2017 18:23 PM

How to plot greyscale histogram of an image

Updated May 05, 2018 16:23 PM

How do I draw these two lines on a X,Y graph?

Updated September 19, 2018 20:23 PM