Dear Sebastian, Consider matplot() for this. Here is an example (taken from Baptiste Auguie's post):
date <- factor(letters[1:9]) d <- data.frame(x1=seq(1, 9), x2=seq(2, 10), date=date) matplot(d[,-3],pch=16,xaxt='n',las=1,ylab='Some label here',xlab='Date') axis(1,d[,3],d[,3]) legend('topleft',c('x1','x2'),pch=16,col=1:2) See ?matplot, ?axis and ?legend for more information. HTH, Jorge On Fri, Mar 27, 2009 at 7:05 AM, skrug <sk...@ifm-geomar.de> wrote: > Hi evrybody, > > in a matrix consisting of 49 columns, I would like to plot all columns > against the first in 48 different graphs. > Can you help me? > > Thank you in advance > Sebastian > > -- > > *************************************************************************************************************** > > Dipl. Biol. Sebastian Krug > PhD - student > IFM - GEOMAR > Leibniz Institute of Marine Sciences > Research Division 2 - Marine Biogeochemistry > Düsternbrooker Weg 20 > D - 24105 Kiel > Germany > > Tel.: +49 431 600-4282 > Fax.: +49 431 600-4446 > email: sk...@ifm-geomar.de > > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > [[alternative HTML version deleted]]
______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.