我有一个问题!我想绘制一个像这样的无根系统发育树:
(图片取自commons.wikimedia
)
我尝试使用包newicktree
,但没有成功!有人能帮帮我吗?如果它是可绘制的,没有newicktree
包也可以!谢谢!
\begin{figure}[h!]
\centering
\begin{newicktree}
\setunitlength{4cm} \nobranchlengths \nodelabelformat{}
\contemporarytips[30] \drawtree{ (((A,B)X,C)Y,D)Z;}
\end{newicktree}
\caption{Example of phylogenetic tree.}
\label{fig:phyltree}
\end{figure}
答案1
也许这会有点帮助:
\documentclass[12pt]{article}
\usepackage{newicktree}
\begin{document}
\begin{figure}[h!]
\centering
\begin{newicktree}
\setunitlength{4cm} \nobranchlengths \nodelabelformat{}
\contemporarytips[30] \drawtree{ (((A,B)X,C)Y,D)Z;}
\end{newicktree}
\caption{Example of phylogenetic tree.}
\label{fig:phyltree}
\end{figure}
\begin{newicktree}
\straightbranches\nobranchlengths\nonodemarkers
\lefttree\setunitlength{2mm}
\drawtree{(((thing 1:5, thing 10:5):3, thing 9:6):4, thing 2:7):8, ((thing 7:3, thing 8:3):10, thing 3:10):5,
(thing 6:20, (thing 4:1, thing 5:2):10):1;}
\end{newicktree}
\end{document}