]> git.donarmstrong.com Git - ape.git/blobdiff - R/plot.phylo.R
various updates for ape 2.7-2 (fixed)
[ape.git] / R / plot.phylo.R
index 88380ff269d9b8cd3d61adc18dbde7cdd4d456ff..da5ebec9d1fb58e74b314da9f24dc6723dd46c28 100644 (file)
@@ -1,4 +1,4 @@
-## plot.phylo.R (2011-03-29)
+## plot.phylo.R (2011-06-14)
 
 ##   Plot Phylogenies
 
@@ -15,7 +15,7 @@ plot.phylo <-
              adj = NULL, srt = 0, no.margin = FALSE, root.edge = FALSE,
              label.offset = 0, underscore = FALSE, x.lim = NULL,
              y.lim = NULL, direction = "rightwards", lab4ut = "horizontal",
-             tip.color = "black", draw = TRUE, ...)
+             tip.color = "black", plot = TRUE, ...)
 {
     Ntip <- length(x$tip.label)
     if (Ntip == 1) {
@@ -280,7 +280,7 @@ plot.phylo <-
     asp <- if (type %in% c("fan", "radial", "unrooted")) 1 else NA # fixes by Klaus Schliep (2008-03-28 and 2010-08-12)
     plot(0, type = "n", xlim = x.lim, ylim = y.lim, ann = FALSE, axes = FALSE, asp = asp, ...)
 
-if (draw) {
+if (plot) {
     if (is.null(adj))
         adj <- if (phyloORclado && direction == "leftwards") 1 else 0
     if (phyloORclado && show.tip.label) {