powered by
data(dji)
plot(dji,plot.type="single",main="Dow Jones Index",xlab="Year",ylab="",col=1:4) legend("bottomright",legend=colnames(dji),col=1:4,lty=1)
Run the code above in your browser using DataLab