Skip to content

Commit 3fb9669

Browse files
authored
Delete tikz figures
1 parent bd7be49 commit 3fb9669

File tree

1 file changed

+13
-49
lines changed

1 file changed

+13
-49
lines changed

body/chapter02.tex

Lines changed: 13 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ \subsubsection{子图}[Sub-picture example]
103103

104104
注意:子图题注也可以只用中文。规范规定“分图题置于分图之下或图题之下”,但没有给出具体的格式要求。
105105
没有要求的另外一个说法就是“无论什么格式都不对”。
106-
所以只有在一个图中有标注“a),b)”,无法使用\cs{subfigure}的情况下,使用最后一个图例中的格式设置方法,否则不要使用。
106+
所以只有在一个图中有标注“(a),(b)”,无法使用\cs{subfigure}的情况下,使用最后一个图例中的格式设置方法,否则不要使用。
107107
为了应对“无论什么格式都不对”,这个子图图题使用“minipage”和“description”环境,宽度,对齐方式可以按照个人喜好自由设置,是否使用双语子图图题也可以自由设置。
108108

109109
\lipsum[1-3]
@@ -158,20 +158,22 @@ \subsubsection{子图}[Sub-picture example]
158158

159159
\begin{figure}[t]
160160
\centering
161-
\begin{tikzpicture}
162-
\node[anchor=south west,inner sep=0] (image) at (0,0) {\includegraphics[width=0.3\textwidth]{golfer}};
163-
\begin{scope}[x={(image.south east)},y={(image.north west)}]
164-
\node at (0.3,0.5) {a)};
165-
\node at (0.8,0.2) {b)};
166-
\end{scope}
167-
\end{tikzpicture}
161+
% \begin{tikzpicture}
162+
% \node[anchor=south west,inner sep=0] (image) at (0,0) {\includegraphics[width=0.3\textwidth]{golfer}};
163+
% \begin{scope}[x={(image.south east)},y={(image.north west)}]
164+
% \node at (0.3,0.5) {a)};
165+
% \node at (0.8,0.2) {b)};
166+
% \end{scope}
167+
% \end{tikzpicture}
168+
\includegraphics[width=0.3\textwidth]{golfer}
168169
\bicaption[golfer0]{}{打高尔夫球球的人(博士论文双语题注)}{Fig.$\!$}{The person playing golf (Doctoral thesis)}
169170
\vskip -0.4em
170171
\hspace{2em}
171172
\begin{minipage}[t]{0.3\textwidth}
172173
\wuhao \setlist[description]{font=\normalfont}
173174
\begin{description}
174175
\item[(a)]子图图题
176+
\item[(a)]Subfigure caption
175177
\end{description}
176178
\end{minipage}
177179
\hspace{2em}
@@ -184,7 +186,6 @@ \subsubsection{子图}[Sub-picture example]
184186
\end{minipage}
185187
\end{figure}
186188

187-
188189
\begin{figure}[!ht]
189190
\centering
190191
\begin{sideways}
@@ -211,53 +212,16 @@ \section{如何做出符合规范的漂亮的图}
211212
关于作图工具在后文\ref{drawtool}中给出一些作图工具的介绍,此处不多言。
212213
此处以R语言和Tikz为例说明如何做出符合规范的图。
213214

214-
\subsection{Tikz作图举例}
215+
\subsection{Tikz作图}
215216

216217
使用Tikz作图核心思想是把格式、主题、样式与内容分离,定义在全局中。
217-
注意字体设置可以有两种选择,如何字少,用五号字,字多用小五。
218+
注意字体设置可以有两种选择,如果字少,用五号字,字多用小五。
218219
使用Tikz作图不会出现字体问题,字体会自动与正文一致。
219220

220-
\begin{figure}[thb!]
221-
\centering
222-
\begin{tikzpicture}[xscale=0.8,yscale=0.3,rotate=90]
223-
\small
224-
\draw (-22,6.5) node[refcell]{参考基因组};
225-
\draw[refline] (-23, 5) -- (27, 5);
226-
\draw (-22,3.75) node[tscell]{肿瘤样本};
227-
\draw (-20,3.75) node[tncell]{正常细胞};
228-
\draw[tnline] (-21, 2.5) -- (27, 2.5);
229-
\draw (-20,1.25) node[ttcell]{肿瘤细胞};
230-
\rcell{2}{6};
231-
\draw[fakeevolve] (4.5, 5.25) -- (4.5, 4.8);
232-
\ncell{2}{4};
233-
\draw[evolve] (4.5, 3) .. controls (4.5,2.8) and (-3.5,2.9) .. (-3.5, 2);
234-
\draw[evolve] (4.5, 3) .. controls (4.5,2.8) and (11.5,2.9) .. (11.5, 2);
235-
\tcellone{-6}{1.5};
236-
\draw (-9, 2) node[ttcell]{1};
237-
\draw[evolve] (-3.5, 0) .. controls (-3.5,-0.2) and (-12,-0.1) .. (-12, -1.5);
238-
\draw[evolve] (-3.5, 0) .. controls (-3.5,-0.2) and (1.5,-0.1) .. (1.5, -1.5);
239-
\tcellthree{7}{1.5};
240-
\draw (4, 2) node[ttcell]{2};
241-
\draw[evolve] (11, 0.5) .. controls (11,0.3) and (19,0.4) .. (19, -1.5);
242-
\tcellfive{-16}{-2};
243-
\draw (-19, -1.5) node[ttcell]{3};
244-
\tcelltwo{-1}{-2};
245-
\draw (-4, -1.5) node[ttcell]{4};
246-
\tcellfour{12}{-2};
247-
\draw (9, -1.5) node[ttcell]{5};
248-
\end{tikzpicture}
249-
\begin{minipage}{.9\linewidth}
250-
\vskip 0.2em
251-
\wuhao 图中,带有箭头的淡蓝色箭头表示肿瘤子种群的进化方向。一般地,从肿瘤组织中取用于进行二代测序的样本中含有一定程度的正常细胞污染,因此肿瘤的样本中含有正常细胞和肿瘤细胞。每一个子种群的基因组的模拟过程是把生殖细胞变异和体细胞变异加入到参考基因组中。
252-
\vspace{0.6em}
253-
\end{minipage}
254-
\bicaption[tumor]{}{肿瘤组织中各个子种群的进化示意图}{Fig.$\!$}{The diagram of tumor subpopulation evolution process}
255-
\end{figure}
256-
257221
\subsection{R作图}
258222

259223
R是一种极具有代表性的典型的作图工具,应用广泛。
260-
与Tikz图~\ref{tumor}~不同,R作图分两种情况:(1)可以转换为Tikz码;(2)不可转换为Tikz码。
224+
与Tikz图不同,R作图分两种情况:(1)可以转换为Tikz码;(2)不可转换为Tikz码。
261225
第一种情况图形简单,图形中不含有很多数据点,使用R语言中的Tikz包即可。
262226
第二种情况是图形复杂,含有海量数据点,这时候不要转成Tikz矢量图,这会使得论文体积巨大。
263227
推荐使用pdf或png非矢量图形。

0 commit comments

Comments
 (0)