[Xts-commits] r842 - pkg/xtsExtra/R

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Mon Sep 1 02:11:43 CEST 2014


Author: rossbennett34
Date: 2014-09-01 02:11:42 +0200 (Mon, 01 Sep 2014)
New Revision: 842

Modified:
   pkg/xtsExtra/R/plot2.R
Log:
fixes bug #5894 xaxis incomplete

Modified: pkg/xtsExtra/R/plot2.R
===================================================================
--- pkg/xtsExtra/R/plot2.R	2014-08-31 18:09:28 UTC (rev 841)
+++ pkg/xtsExtra/R/plot2.R	2014-09-01 00:11:42 UTC (rev 842)
@@ -392,7 +392,7 @@
   #}
   
   # compute the x-axis ticks
-  cs$add(expression(atbt <- axTicksByTime(xdata[xsubset]),
+  cs$add(expression(atbt <- axTicksByTime2(xdata[xsubset]),
                     segments(atbt, #axTicksByTime2(xdata[xsubset]),
                              get_ylim()[[2]][1],
                              atbt, #axTicksByTime2(xdata[xsubset]),
@@ -543,7 +543,7 @@
                                      NROW(xdata[xsubset]), y_grid_lines(ylim), 
                                      col=theme$grid, lwd=grid.ticks.lwd, lty=grid.ticks.lty)),
                  # x-axis grid lines
-                 expression(atbt <- axTicksByTime(xdata[xsubset]),
+                 expression(atbt <- axTicksByTime2(xdata[xsubset]),
                             segments(atbt, #axTicksByTime2(xdata[xsubset]),
                                      ylim[1],
                                      atbt, #axTicksByTime2(xdata[xsubset]),



More information about the Xts-commits mailing list