[Phylobase-commits] r829 - pkg/R

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Mon Mar 21 15:31:48 CET 2011


Author: bbolker
Date: 2011-03-21 15:31:47 +0100 (Mon, 21 Mar 2011)
New Revision: 829

Modified:
   pkg/R/treePlot.R
Log:
  fix partial matching



Modified: pkg/R/treePlot.R
===================================================================
--- pkg/R/treePlot.R	2011-02-24 16:16:31 UTC (rev 828)
+++ pkg/R/treePlot.R	2011-03-21 14:31:47 UTC (rev 829)
@@ -513,7 +513,7 @@
     tip.order <- xxyy$torder
     pedges <- edges(phy)
     Ntips  <- nTips(phy)
-    datalayout <- grid.layout(ncol = 2, width = unit(c(1, 1/Ntips), c('null', 'null')))
+    datalayout <- grid.layout(ncol = 2, widths = unit(c(1, 1/Ntips), c('null', 'null')))
     # TODO this is done multiple times,
     pushViewport(viewport(layout = datalayout, angle = rot,
                         name = 'datalayout'))



More information about the Phylobase-commits mailing list