s-news
[Top] [All Lists]

legend color in finmetrics

To: s-news@lists.biostat.wustl.edu
Subject: legend color in finmetrics
From: "Ruud H. Koning" <info@rhkoning.com>
Date: Wed, 14 Jul 2004 08:50:17 +0200
Hello, when following the examples of the finmetrics manual of Eric Zivot,
I encountered a small problem. I have plotted two timeseries curves:

plot(singleIndex.dat, plot.args=list(lty=c(1,3)))
legend(0.1,1400,legend=colIds(singleIndex.dat),lty=c(1,3))


The curves are drawn in colors blue and brown, however the colors in the
legend are black. I would like these to be colored as in the graph. How do
i achieve this? Thanks, Ruud



<Prev in Thread] Current Thread [Next in Thread>