[Returnanalytics-commits] r2292 - pkg/PerformanceAnalytics/R
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Mon Nov 5 22:21:01 CET 2012
Author: braverock
Date: 2012-11-05 22:21:01 +0100 (Mon, 05 Nov 2012)
New Revision: 2292
Modified:
pkg/PerformanceAnalytics/R/chart.TimeSeries.R
Log:
- add pch to legend call, does nothing in the default case
Modified: pkg/PerformanceAnalytics/R/chart.TimeSeries.R
===================================================================
--- pkg/PerformanceAnalytics/R/chart.TimeSeries.R 2012-10-26 15:56:41 UTC (rev 2291)
+++ pkg/PerformanceAnalytics/R/chart.TimeSeries.R 2012-11-05 21:21:01 UTC (rev 2292)
@@ -343,7 +343,7 @@
if(!is.null(legend.loc)){
# There's no good place to put this automatically, except under the graph.
# That requires a different solution, but here's the quick fix
- legend(legend.loc, inset = 0.02, text.col = colorset, col = colorset, cex = cex.legend, border.col = element.color, lty = lty, lwd = 2, bg = "white", legend = columnnames)
+ legend(legend.loc, inset = 0.02, text.col = colorset, col = colorset, cex = cex.legend, border.col = element.color, lty = lty, lwd = 2, bg = "white", legend = columnnames, pch=pch)
}
# Add the other titles
More information about the Returnanalytics-commits
mailing list