On Sat, 1 Jan 2005, franci wrote:

> Is it possible to make multiple plots i.e. to represent more than one
> function on the same figure?

It you want to superimpose the curves, for example:

t=seq(-5,5,.1)
plot(t,exp(-t*t),type='l')
lines(t,sin(t)*sin(t))


If you want to plot on separate plotting areas:

par(mfcol=c(1,2))
plot(t,exp(-t*t),type='l')
plot(t,sin(t)*sin(t),type='l')


Christophe Pallier

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to