[Xts-commits] r726 - in pkg/xtsExtra: R man

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Wed Aug 29 17:09:20 CEST 2012


Author: weylandt
Date: 2012-08-29 17:09:20 +0200 (Wed, 29 Aug 2012)
New Revision: 726

Modified:
   pkg/xtsExtra/R/plot.R
   pkg/xtsExtra/man/plot.xts.Rd
Log:
Move dots in plot args earlier per BGP's suggestion

Modified: pkg/xtsExtra/R/plot.R
===================================================================
--- pkg/xtsExtra/R/plot.R	2012-08-19 19:17:02 UTC (rev 725)
+++ pkg/xtsExtra/R/plot.R	2012-08-29 15:09:20 UTC (rev 726)
@@ -18,13 +18,13 @@
 #   You should have received a copy of the GNU General Public License
 #   along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
-`plot.xts` <- function(x, y = NULL, screens = 'auto', layout.screens = 'auto',
+`plot.xts` <- function(x, y = NULL, screens = 'auto', layout.screens = 'auto', ..., 
       yax.loc = c("none", "out", "in", "flip", "left", "right", "top"), 
       auto.grid = TRUE, major.ticks = 'auto', minor.ticks = TRUE, major.format = TRUE, 
       bar.col.up = 'white', bar.col.dn ='red', candle.col='black',
       xy.labels = FALSE, xy.lines = NULL, ylim = 'auto', panel = default.panel,
       auto.legend = FALSE, legend.names = colnames(x), legend.loc = "topleft", 
-      legend.pars = NULL, events, blocks, nc, nr, ...) {
+      legend.pars = NULL, events, blocks, nc, nr) {
   
   # Set cex.lab early to a reasonable default; this allows user to still override
   if(length(screens) > 1L || (NCOL(x) > 1L && identical(screens, "auto"))) par(cex.lab = 0.8)

Modified: pkg/xtsExtra/man/plot.xts.Rd
===================================================================
--- pkg/xtsExtra/man/plot.xts.Rd	2012-08-19 19:17:02 UTC (rev 725)
+++ pkg/xtsExtra/man/plot.xts.Rd	2012-08-29 15:09:20 UTC (rev 726)
@@ -7,7 +7,7 @@
 }
 \usage{
 \method{plot}{xts}(x, y = NULL, 
-            screens = 'auto', layout.screens = 'auto',
+            screens = 'auto', layout.screens = 'auto', ...,
             yax.loc = c("none","out","in","flip", "left", "right", "top"),
             auto.grid=TRUE, major.ticks='auto', minor.ticks=TRUE, 
             major.format=TRUE, bar.col.up = 'white',
@@ -16,7 +16,7 @@
             ylim = 'auto', panel = default.panel, 
             auto.legend = FALSE, legend.names = colnames(x), 
             legend.loc = "topleft", legend.pars = NULL, 
-            events, blocks, nc, nr, ...)
+            events, blocks, nc, nr)
 }
 \arguments{
   \item{x}{an \code{xts} object}
@@ -56,7 +56,7 @@
 }
 \details{
 Mainly used to draw time-series plots with sensible x-axis labels, it
-can also plot basic OHLC series using \code{type='candles'} or \code{type='bars'} [\code{'bars'} does not seem to be currently supported].
+can also plot basic OHLC series using \code{type='candles'} or \code{type='bars'}.
 
 Care has been taken to make plotting arguments passed by \code{...} behave smartly by classifying them as 'global', 'screen-wise', or 'column-wise' arguments and treating them as such. A partial listing includes:
 \itemize{



More information about the Xts-commits mailing list