latex 中的图片插入(暂时记录一下吧)

\begin{figure}[htbp]   
\begin{minipage}[b]{\linewidth} % 如果一行放2个图,用0.5,如果3个图,用0.33  
	\centering   
	\includegraphics[width = .7\textwidth]{1.png}
	
	\caption{The C programing Language}   
	\label{fig:side:a}   
\end{minipage}%  
\end{figure}  
\begin{figure}[htbp]   
	\begin{minipage}[b]{\linewidth} % 如果一行放2个图,用0.5,如果3个图,用0.33  
		\centering   
		\includegraphics[width=1in]{fig1.png}   
		\caption{The C programing Language}   
		\label{fig:side:a}   
	\end{minipage}%  
\end{figure} 

效果的图片是这样的
在这里插入图片描述

\begin{figure}[bhtp]   
	\begin{minipage}[b]{0.5\linewidth} % 如果一行放2个图,用0.5,如果3个图,用0.33  
		\centering   
		\includegraphics[width=2in]{fig1.png}   
		\caption{The C programing Language}   
		\label{fig:side:a}   
	\end{minipage}%  
	\hfill  %水平填充
	\begin{minipage}[b]{0.5\linewidth}   
		\centering   
		\includegraphics[width=2in]{fig1.png}   
		\caption{ C Primer Plus}   
		\label{fig:side:b}   
	\end{minipage}
\end{figure}  

在这里插入图片描述
参考链接:https://www.cnblogs.com/yongjiuzhizhen/p/5772962.html?utm_source=itdadao&utm_medium=referral

\begin{figure}[t]
	\centering
	\subfigure[The Sequence node with N children.]{\includegraphics[width=0.3\textwidth]{fig2_a}\label{fig2:a}} 
	\subfigure[The Fallback node with N children.]{\includegraphics[width=0.3\textwidth]{fig2_b}\label{fig2:b}} 	
	\subfigure[The Parallel node with N children.]{\includegraphics[width=0.3\textwidth]{fig2_c}\label{fig2:c}} 
	\caption{Graphical representation of each type of control flow nodes.}
	\label{fig2}
\end{figure}

在这里插入图片描述

\begin{figure}[t]
	\centering
	\subfigure[Condition node.]{
		\begin{minipage}[t]{0.40\linewidth}
			\centering
			\includegraphics[width=1in]{fig3_a}
			\label{fig3:a}
			%\caption{fig1}
		\end{minipage}%
	}%
	\subfigure[Action node.]{
		\begin{minipage}[t]{0.40\linewidth}
			\centering
			\includegraphics[width=1in]{fig3_b}
			%\caption{fig2}
			\label{fig3:b}
		\end{minipage}%
	}%	
	\centering
	\caption{Graphical representation of condition and action nodes.}
	\label{fig:3}
\end{figure}

在这里插入图片描述

\begin{algorithm}[tb]
	\caption{The algorithm of the announcement stage}
	\label{alg:announcement}
	\textbf{Input}: $T_i$, the tasks set of $r_i$
	\begin{algorithmic}[1] %[1] enables line numbers
		\STATE Initialize a tasks list $L_1$
		\FOR{each $t_j$ in $T_i$}
		\IF{$t_j$ is unassigned}
		\STATE $L_1 \leftarrow L_1 \cup\left\{t_{j}\right\}$
		\ENDIF
		\ENDFOR
		\STATE Broadcast $L_1$ to all robots
	\end{algorithmic}
\end{algorithm}

在这里插入图片描述

\begin{figure*}[htbp]
	\centering
	\subfigure[]
	{
		\begin{minipage}[b]{0.4\linewidth}
			\centering
			\includegraphics[scale=0.3]{figure/1times.png}
		\end{minipage}
	}
	\subfigure[]
	{
		\begin{minipage}[b]{0.4\linewidth}
			\centering
			\includegraphics[scale=0.3]{figure/2times.png}
		\end{minipage}
	}
	\caption{(a) shows that when the basic reward value is used, our method can complete the task very well, and the effect is better, while DDPG and DQN fluctuate greatly and are difficult to converge.  In (b), the reward and penalty values are adjusted to twice the original value. It can be found that it takes a longer time step to obtain better results. Our method is still better than only using DDPG and DQN.}
	\label{rew}
\end{figure*}
两个图片 统一使用一个注释的形式的
  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值