I'm trying to make multiple line plots, each with a different color, using the
xyplot command. Specifically, I have an NxK matrix Y and an Nx1 matrix x. I
would like the plot to contain a line for each (x, Y[,i]), i=1:K. I know
something like
xyplot(Y[,1] + Y[,2] + Y[,3] ~ x, type='l')
will
On Nov 17, 2010, at 5:38 PM, Elliot Joel Bernstein wrote:
I'm trying to make multiple line plots, each with a different color,
using the xyplot command. Specifically, I have an NxK matrix Y and
an Nx1 matrix x. I would like the plot to contain a line for each
(x, Y[,i]), i=1:K. I know
2 matches
Mail list logo