我正在尝试制作类似这样的图形:
含有乳胶。
我希望引用能够与观察到的数据相匹配。有谁知道有什么好的软件包或方法可以做到这一点吗?
我能做的最好的就是使用 Tikz,但是这个解决方案非常糟糕而且我也不太擅长让它看起来不错。
下面的代码提供了这个图像,这显然需要做很多工作。
我主要想找到一个可以让这种事情变得更简单的包。
PDFLATEX 文件:
\documentclass{article}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[scale=4]
\foreach \i\s in {0.001/0,0.01/1,0.1/2,1/3} {
\begin{scope}[xshift=\s cm]
\foreach \x [evaluate=\x as \y using log10(\x), evaluate=\x as \l using \x*\i] in {1,...,10} {
\draw (\y,0) -- ++(0,.25) node [left, rotate=45] {\tiny \pgfmathprintnumber{\l} $\mu m$};
}
\foreach \x [evaluate=\x as \y using log10(\x)] in {1,1.2,...,10} {
\draw (\y,0) -- ++(0,.1);
}
\end{scope}
}
\draw (1cm+5, 0.3) -- (2cm+5, 0.3) node [above, rotate=0] {\tiny Micellular / Micro\cite{tadros2006applied}};
%\draw (-.1,0) rectangle ++(3.2,.5);
\end{tikzpicture}
\begin{tabular}{|c|c|c|c|}
\hline
Source & Micellular Emulsions - Microemulsions & Nanoemulsions & Macroemulsions \\
\hline
Tadros\cite{tadros2006applied} & 5-50 nm & 50-200 nm & $\ge50$ nm \\
\hline
Binks\cite{binks1998modern} & 5-50 nm & & \\
\hline
\end{tabular}
\bibliographystyle{unsrt}
\bibliography{bib}
\end{document}
BIBTEX 文件:
@book{tadros2006applied,
title={Applied surfactants: principles and applications},
author={Tadros, Tharwat F},
year={2006},
publisher={John Wiley \& Sons}
}
@book{binks1998modern,
title={Modern aspects of emulsion science},
author={Binks, Bernard P},
year={1998},
publisher={Royal Society of Chemistry}
}
提供以下图像:
答案1
这可能是一个很好的起点...
\begin{filecontents}{Lit.bib}
@book{tadros2006applied,
title={Applied surfactants: principles and applications},
author={Tadros, Tharwat F},
year={2006},
publisher={John Wiley \& Sons},
}
@book{binks1998modern,
title={Modern aspects of emulsion science},
author={Binks, Bernard P},
year={1998},
publisher={Royal Society of Chemistry},
}
\end{filecontents}
\documentclass{article}
\usepackage[shortlabels]{enumitem}
\setlist{itemsep=0ex plus0.2ex}
\usepackage{booktabs}
\usepackage{tikz}
\usepackage{pgfplots}
\usetikzlibrary{
arrows.meta,
}
\usepackage[
backend=biber,
sorting=none,
style=numeric,
]{biblatex}
\addbibresource{Lit.bib}
\begin{document}
\begin{tikzpicture}
\begin{semilogxaxis}[
width=\textwidth,
height=5cm,
xmin=1e0,
xmax=5e4,
ymin=0,
ymax=1,
%
xlabel={nm},
xlabel style={
at={(current axis.right of origin)},
anchor=north east,
yshift=2ex,
},
%
axis x line=bottom,
axis y line=left, % <-- just for easier placement of lines
% axis y line=none, % <-- use me to hide the `axis y line'
]
\begin{scope}[
line width=2pt,
node font=\scriptsize,
>={Straight Barb[angle=60:2pt 3]},
]
\draw [->]
(axis direction cs:4,0.1) -- (axis direction cs:150,0.1)
node [above,pos=0,anchor=south west]
{Micellular / Micro \supercite{tadros2006applied}};
\end{scope}
\end{semilogxaxis}
\end{tikzpicture}
\vspace{2ex}
\begin{tabular}{lp{28mm}p{28mm}p{28mm}}
\toprule
Source & \vspace*{-1.6ex}
\begin{itemize}[label=--,leftmargin=*,nosep,]
\item Micellular \newline Emulsions
\item Microemulsions
\end{itemize}
\vspace*{-2.8ex} & Nanoemulsions & Macroemulsions \\
\midrule
Tadros \supercite{tadros2006applied} & 5--50 nm & 50--200 nm & $\ge50$ nm \\
Binks \supercite{binks1998modern} & 5--50 nm & & \\
\bottomrule
\end{tabular}
\printbibliography
\end{document}