1

I am puzzled in plotting an image similar to the following (presented in the CARN paper),

Pictures in comparison

I used subfloat and cropped images outside LaTeX. I would like to include the left full image and highlight the selection as well. Meantime, I would like to remove the alphabetical letters given by subfloat. Finally, I hope to export this full figure as a single .eps file for simplicity. Please gimme a hint. Thanks!

  • OK, here is a hint. The spy library of TikZ can achieve these things. https://tex.stackexchange.com/a/25433/121799 –  Jan 23 '19 at 02:45
  • @marmot I've also noticed spy, but I didn't find this thread. Thanks! – MeadowMuffins Jan 23 '19 at 02:52
  • Does the highlighted section move or is it fixed? The zoomed images would all have to come from different high-rez versions of the image (which would make the article HUGE). One might be able to place them all on top of each other and pull off one layer at a time. – John Kormylo Jan 23 '19 at 15:42
  • @JohnKormylo It is supposed to be fixed when rendered. – MeadowMuffins Jan 24 '19 at 07:48
  • Ah, a much easier problem. I would align the images and "captions" using a tabular. You can use standalone.cls to merge everything into one PDF (which can be converted to eps). One can add the yellow rectangle using tikz. Actually, you could do the whole thing using tikz, but that is true about almost everything. – John Kormylo Jan 24 '19 at 16:30
  • @JohnKormylo Good point! – MeadowMuffins Jan 25 '19 at 05:09

1 Answers1

2

It can be helpful:

\documentclass{article}      
\usepackage{subfigure}
\usepackage{graphicx}


\begin{document}

    \begin{figure}
        \centering

            \sbox{\bigpicturebox}{%
              \scalebox{1.2}[1.2]{\includegraphics[width=.45\textwidth]{example-image-a}}%
            }

            \usebox{\bigpicturebox}\hfill
            \begin{minipage}[b][\ht\bigpicturebox][s]{.45\textwidth}
            \subfigure[a]
            {\includegraphics[width=.3\textwidth]{example-image-a}}\hfill
            \subfigure[b]
            {\includegraphics[width=.3\textwidth]{example-image-b}}\hfill
            \subfigure[c]
            {\includegraphics[width=.3\textwidth]{example-image-c}}

            \vfill

            \subfigure[a]
            {\includegraphics[width=.3\textwidth]{example-image-a}}\hfill
            \subfigure[b]
            {\includegraphics[width=.3\textwidth]{example-image-b}}\hfill
            \subfigure[c]
            {\includegraphics[width=.3\textwidth]{example-image-c}}
            \end{minipage}

            \caption{Comparison of images}

    \end{figure}


\end{document}

enter image description here

asdf
  • 21