[Vegan-commits] r1250 - in pkg/vegan: R inst

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Thu Aug 12 18:30:47 CEST 2010


Author: jarioksa
Date: 2010-08-12 18:30:47 +0200 (Thu, 12 Aug 2010)
New Revision: 1250

Modified:
   pkg/vegan/R/msoplot.R
   pkg/vegan/inst/ChangeLog
Log:
msoplot legend fix (for Helene Wagner)

Modified: pkg/vegan/R/msoplot.R
===================================================================
--- pkg/vegan/R/msoplot.R	2010-08-12 16:24:01 UTC (rev 1249)
+++ pkg/vegan/R/msoplot.R	2010-08-12 16:30:47 UTC (rev 1250)
@@ -35,7 +35,7 @@
             lines(vario$Dist, vario$Sum, type = "b", lty = 2, 
                   pch = 3, ...)
             ## Legend
-            legend("topleft", c(label[c(2,b:3)+3], ci.lab, sign.lab),
+            legend("topleft", c(label[c(2,3:b)+3], ci.lab, sign.lab),
                    lty=c(c(1,2,1,1,1)[2:b], 1, if(hasSig) NA),
                    pch=c(3, (6:(b+3))-6, NA, if(hasSig) 15)
                    )

Modified: pkg/vegan/inst/ChangeLog
===================================================================
--- pkg/vegan/inst/ChangeLog	2010-08-12 16:24:01 UTC (rev 1249)
+++ pkg/vegan/inst/ChangeLog	2010-08-12 16:30:47 UTC (rev 1250)
@@ -18,6 +18,8 @@
 	columns.  Reported as bug #1002 in http://r-forge.r-project.org/
 	by Sergio Garcia. Also some small edits of vegdist man page.
 
+	* msoplot: legend mixed symbols and labels. 
+
 Version 1.18-8 (closed August 12, 2010)
 
 	* DESCRIPTION: does not suggest package 'ellipse'.



More information about the Vegan-commits mailing list