Hi Hansol, If you know the lattice system
library(lattice) library(latticeExtra) useOuterStrips( xyplot(y ~ x|class, data = dat, ...) ) See also ? combineLimits Otherwise mfrow(10,10) and loop your data to plot This is about as far as I can go - I have the same comment as Jim Regards Duncan Duncan Mackay Department of Agronomy and Soil Science University of New England Armidale NSW 2351 Email: home: mac...@northnet.com.au -----Original Message----- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Jim Lemon Sent: Monday, 28 October 2013 16:25 To: Hansol Yu Cc: r-help@r-project.org Subject: Re: [R] plotting multiple variables On 10/28/2013 04:53 PM, Hansol Yu wrote: > When my data has 50 rows, 100 columns and class column. How can I plot > this data and show classes? Do I have to draw 100 lines? > Hi Hansol, I doubt that anyone on the R help list really knows the answer to your question unless your lecturer is one of us. Jim ______________________________________________ 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. ______________________________________________ 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.