Combining 4 plots into one figure

Personally, I use the subfigure package and it works really well. Also,

+1 for reusable figures. The downside of the subfigure package is your

latex code looks that much worse, but if the journal doesn’t mind you

using the subfigure package, then I recommend it.

Thanks for the comments everyone. I am giving subfigure a try now, and it seems relatively promising. The only problem is that apparently the \caption package intereferes with RevTeX. This causes me to have to use \usepackage[caption=false]{subcaption} which then apparently doesn’t allow me to label the individual plots (a), (b), ©, and (d). Instead, attempting to do this creates new FIG labels at these locations (using \caption* doesn’t fix this either). But maybe I can figure a workaround to this, and besides, this is a LaTeX question at this point anyway.

If this doesn’t work I suppose there is always just manually creating a new file with Inkscape and adding the a), b), c), and d) labels manually in there.

Thanks for all the suggestions.

>
>
>
> Personally, I use the subfigure package and it works really well. Also,
> +1 for reusable figures. The downside of the subfigure package is your
> latex code looks that much worse, but if the journal doesn't mind you
> using the subfigure package, then I recommend it.
>
>
Thanks for the comments everyone. I am giving subfigure a try now, and it
seems relatively promising. The only problem is that apparently the
\caption package intereferes with RevTeX. This causes me to have to use
\usepackage[caption=false]{subcaption} which then apparently doesn't allow
me to label the individual plots (a), (b), (c), and (d). Instead,
attempting to do this creates new FIG labels at these locations (using
\caption* doesn't fix this either). But maybe I can figure a workaround to
this, and besides, this is a LaTeX question at this point anyway.

I know this is getting off topic, but is the journal you're submitting
to insisting on the RevTex style file? Most of them have their own
custom style. If so, I recommend using that over RevTex. That would
potentially solve your package conflict.

···

On Thu, Jul 19, 2012 at 07:56:29AM -0700, Brad Malone wrote:

If this doesn't work I suppose there is always just manually creating a new
file with Inkscape and adding the a), b), c), and d) labels manually in
there.

Thanks for all the suggestions.

--
Damon McDougall
http://damon-is-a-geek.com
B2.39
Mathematics Institute
University of Warwick
Coventry
West Midlands
CV4 7AL
United Kingdom

Hi Brad,

Have you have tried using the tabular environment?
I haven't tried using \vspace inside the figure, but I suspect that would also let you squeeze the figures closer together.

\begin{figure}
\begin{tabular}{cc} %for a two columns of figures
\includegraphics[width=0.48\textwidth]{figure_a}
&
\includegraphics[width=0.48\textwidth]{figure_b}
\\
$(a)$ & $(b)$
\\
\includegraphics[width=0.48\textwidth]{figure_c}
&
\includegraphics[width=0.48\textwidth]{figure_d}
\\
$(c)$ & $(d)$
\end{tabular}
\caption{\label{fig:your_label} your caption}
\end{figure}

Andre

···

On Jul 19, 2012, at 9:34 AM, Damon McDougall wrote:

On Thu, Jul 19, 2012 at 07:56:29AM -0700, Brad Malone wrote:

Personally, I use the subfigure package and it works really well. Also,
+1 for reusable figures. The downside of the subfigure package is your
latex code looks that much worse, but if the journal doesn't mind you
using the subfigure package, then I recommend it.

Thanks for the comments everyone. I am giving subfigure a try now, and it
seems relatively promising. The only problem is that apparently the
\caption package intereferes with RevTeX. This causes me to have to use
\usepackage[caption=false]{subcaption} which then apparently doesn't allow
me to label the individual plots (a), (b), (c), and (d). Instead,
attempting to do this creates new FIG labels at these locations (using
\caption* doesn't fix this either). But maybe I can figure a workaround to
this, and besides, this is a LaTeX question at this point anyway.

I know this is getting off topic, but is the journal you're submitting
to insisting on the RevTex style file? Most of them have their own
custom style. If so, I recommend using that over RevTex. That would
potentially solve your package conflict.

If this doesn't work I suppose there is always just manually creating a new
file with Inkscape and adding the a), b), c), and d) labels manually in
there.

Thanks for all the suggestions.

--
Damon McDougall
http://damon-is-a-geek.com
B2.39
Mathematics Institute
University of Warwick
Coventry
West Midlands
CV4 7AL
United Kingdom

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users