# How can I plot Several figures with one caption in a two-column Latex document?

조회 수: 22 (최근 30일)
Aisha Mohamed 2023년 4월 26일
답변: Aisha Mohamed 2023년 4월 26일
Hi Dear
I am tring to insert Several figures with one caption in a two-column Latex document as the figure given below but it does not work. Can anyone help me to do that please?
I will appriciate any help.
##### 댓글 수: 2없음 표시없음 숨기기
Aisha Mohamed 2023년 4월 26일
I used this link which work in one column Latex document, why it does not work with two column Latex document?
\begin{figure*}
\centering
\begin{subfigure}[t]{0.49\textwidth}
\centering
\includegraphics[width=\textwidth]{diract=0.png}
\caption{$f_k(z)$ and $f_b(z)$ representations of the states $| f\rangle$ and $\langle f |$ at $t=0$.}
% which at $t=0$ is given in the Eq(27).}
\label{fig:y equals x}
\end{subfigure}
\hfill
\begin{subfigure}[t]{0.50\textwidth}
\centering
\includegraphics[width=\textwidth]{diracexamle2kbnonperiodict=1.png}
\caption{$f_k(z)$ and $f_b(z)$ representations of the states $|f\rangle$
and $\langle f |$ at $t=1$.}
% which at $t=0$ is given in the Eq(81), by using Hamiltonian in Eq(101) that has the eigenvalues -5.7091, 0.0478, 3.6612, $t=1$.}
\label{fig:three sin x}
\end{subfigure}
\hfill
\begin{subfigure}[t]{0.49\textwidth}
\centering
\includegraphics[width=\textwidth]{diracexamle2kbnonperiodict=2.png}
\caption{$f_k(z)$ and $f_b(z)$ representations of the states $|f\rangle$
and $\langle f |$ at $t=2$.}
% which at $t=0$ is given in the Eq(81), by using Hamiltonian in Eq(6.46) that has the eigenvalues -5.7091, 0.0478, 3.6612, $t=2$.}
\label{fig:five over x}
\end{subfigure}
\hfill
\begin{subfigure}[t]{0.49\textwidth}
\centering
\includegraphics[width=\textwidth]{diracexamle2kbnonperiodict=pi.png}
\caption{$f_k(z)$ and $f_b(z)$ representations of the states $|f \rangle$ and $\langle f |$ at $t=\pi$.}
% which at $t=0$ is given in the Eq(81), by using Hamiltonian in Eq(6.46) that has the eigenvalues -5.7091, 0.0478, 3.6612, $t=\pi$}
\label{fig:three sin x}
\end{subfigure}
\hfill
\begin{subfigure}[t]{0.49\textwidth}
\centering
\includegraphics[width=\textwidth]{diracexamle2kbnonperiodict=2pi.png}
\caption{$f_k(z)$ and $f_b(z)$ representations of the states $|f\rangle$
and $\langle f |$ at $t=2\pi$}
% which at $t=0$ is given in the Eq(81), by using Hamiltonian in Eq(101) that has the eigenvalues -5.7091, 0.0478, 3.6612, $t=2\pi$. As we can see, the figures do not return to initial position at $t=0$ because the system is not periodic}
\label{fig:three sin x}
\end{subfigure}
\caption{ Time evolution of the $\mathcal{H}_{(2j+1)}$ system is described by the movement of the magnitude and the phase of Dirac contour representation
functions $f_k(z)$ and $f_b(z)$ of the states $|f \rangle$,
which at $t=0$ is given in the Eq(6.45), and $\langle f |$ by using Hamiltonian in Eq(6.44) that has the eigenvalues -5.7091, 0.0478, 3.6612.}
\label{fig:three graphs}
% \caption{Three simple graphs}
% \label{fig:three graphs}
\end{figure*}
I appreciate any help
Dyuman Joshi 2023년 4월 26일
How does this relate to MATLAB?

댓글을 달려면 로그인하십시오.

### 채택된 답변

Aisha Mohamed 2023년 4월 26일
I solved this issue by using this package
\documentclass[twocolumn,12pt]{article}
\usepackage{graphicx}
\usepackage{subcaption}
and it work.

댓글을 달려면 로그인하십시오.

### 카테고리

Help CenterFile Exchange에서 Work with Components에 대해 자세히 알아보기

### Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by