Re: [R] selecting colors to be used in a plot

2017-01-25 Thread Bos, Roger
Thanks Richard. That worked beautifully! -Original Message- From: Richard M. Heiberger [mailto:r...@temple.edu] Sent: Wednesday, January 25, 2017 12:58 PM To: Bos, Roger Cc: R Help R Subject: Re: [R] selecting colors to be used in a plot This package uses a nonstandard name colorset

Re: [R] selecting colors to be used in a plot

2017-01-25 Thread Richard M. Heiberger
This package uses a nonstandard name colorset. This is based on the help example for ?charts.PerformanceSummary > data(edhec) > charts.PerformanceSummary(edhec[,c(1,13)]) > charts.PerformanceSummary(edhec[,c(1,13)], colorset=c("red","blue")) > On Wed, Jan 25, 2017 at 12:44 PM, Bos,

[R] selecting colors to be used in a plot

2017-01-25 Thread Bos, Roger
My specific question relates to function charts.PerformanceSummary in package PerformanceAnalytics, but the underlying problem is probably with base plot. In this sample code we see a chart with 10 groupings. Apparently 10 groupings is bigger than the number of default colors (8), so red and bl