Re: [R-sig-phylo] plotting a coloured tree

2012-08-22 Thread Emmanuel Paradis
Agus, Whether the background appears transparent or not depends on the device where you plot the tree. On Linux, the default device (X11) is transparent: par(bg) [1] transparent When plotting in a file, the default depends on the file format: pdf() has transparent background, but png()

Re: [R-sig-phylo] plotting a coloured tree

2012-08-22 Thread Agus Camacho
Many thanks Marcio and Emmanuel! That solved my problems to plot the tree. 2012/8/22 Emmanuel Paradis emmanuel.para...@ird.fr Agus, Whether the background appears transparent or not depends on the device where you plot the tree. On Linux, the default device (X11) is transparent: par(bg)

[R-sig-phylo] plotting a coloured tree

2012-08-19 Thread Agus Camacho
Dear list, Im trying to plot a coloured tree with transparent background, to do that, im using the following script: require(ape) require(geiger) tree - read.tree(text= Calyptommatus leiolepis:0.0168, Calyptommatus nicterus:0.0099):0.0242 ,Calyptommatus sinebrachiatus:0.038):0.0724

Re: [R-sig-phylo] plotting a coloured tree

2012-08-19 Thread Marcio Pie
Hi Agustin, The problem seems to be the space between the genus and the species names. Try this: require(ape) require(geiger) tree-read.tree(text= Calyptommatus_leiolepis:0.0168, Calyptommatus_nicterus:0.0099):0.0242 ,Calyptommatus_sinebrachiatus:0.038):0.0724