Hi all,
I created a graph by plotting 4 time series on top of each other but don't
know how to add extra axes on the right hand side of the plot (or leftside).
For the first two time series it axis are plotted but the last two time
series don't have and axis. How can these be added and where?
e.g.
par(mfrow=c(1,1))
plot(timeserie1)
par(new=T)
plot(timeserie2, type="b", col=3,yaxt="n", ylab="" )
axis(4)
mtext(side=4, line=2, "NDVI")
par(new=T)
plot(timeserie3, type="h", col=2,yaxt="n", ylab="")
par(new=T)
plot(timeserie4, type="b", col=4,yaxt="n", ylab="")
Thanks,
Jan
_______________________________________________________________________
ir. Jan Verbesselt
Research Associate
Lab of Geomatics and Forest Engineering K.U. Leuven
Vital Decosterstraat 102. B-3000 Leuven Belgium
Tel:+32-16-329750 Fax: +32-16-329760
http://gloveg.kuleuven.ac.be/
______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html