This is because your tip labels are long. If you resize the plotting device to be wider *and plot again* it should resolve. You can do this manually in your interactive R session, or if you are plotting to PDF you can just change "width" and "height" in pdf() until it looks right. Changing your font size will also help & may be necessary to get a good visualization if the tip labels are really long.

Let us know if that works.

Liam J. Revell, Associate Professor of Biology
University of Massachusetts Boston
web: http://faculty.umb.edu/liam.revell/
email: liam.rev...@umb.edu
blog: http://blog.phytools.org

On 2/3/2016 12:38 PM, Felipe Rossetto wrote:
Hello, I am trying to plot two trees facing each other through the
function cophyloplot, in a way the tips are linked by lines. I've used a
script using phytools, like this:
tr1<-read.nexus("itscombMajRule.tree")
tr2<-read.nexus("rpsfim.tree")
obj<-cophylo(tr1,tr2,rotate=FALSE)
plot(obj)
I could get lines linking tips, but the trees are not faced each other
by the tips (see the image below). Is there some command for fixing it?

Many thanks
Imagem inline 2
Felipe Rossetto
Herbário FUEL
Departamento de Biologia Animal e Vegetal
Universidade Estadual de Londrina
Rodovia Celso Garcia Cid, PR 445 Km 380, Campus Universitário
Caixa postal 10.011
CEP: 86057-970
Londrina, Paraná, Brasil
CV: http://buscatextual.cnpq.br/buscatextual/visualizacv.do?id=K4211230P7


_______________________________________________
R-sig-phylo mailing list - R-sig-phylo@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-phylo
Searchable archive at http://www.mail-archive.com/r-sig-phylo@r-project.org/


_______________________________________________
R-sig-phylo mailing list - R-sig-phylo@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-phylo
Searchable archive at http://www.mail-archive.com/r-sig-phylo@r-project.org/

Reply via email to