Skip to content
Prev 343024 / 398513 Next

Superimposing graphs

I think this is what you are looking for.

library(latticeExtra)
t.tmp <-seq(0,30, .01)
P1 + layer(panel.xyplot(y=f1(0.5,0.5,0.06, t.tmp), x=t.tmp, type="l",
col="black"))

Notice that t is a very bad name for your variable as it is the name
of a function.
I used t.tmp instead.

Rich
On Mon, Aug 11, 2014 at 5:06 AM, Naser Jamil <jamilnaser79 at gmail.com> wrote: