Hi > > Re: [R] two question about plot > > The help for boxplot offers suggestions for both those things. You may be > particularly interested in: > > names: group labels which will be printed under each boxplot. Can > be a character vector or an expression (see plotmath). > > add: logical, if true _add_ boxplot to current plot. > > Sarah
It could be also worth to consult also bwplot from lattice or especially ggplot2 package for plotting. Regards Petr > > > On Thu, Sep 1, 2011 at 1:31 PM, Jie TANG <totang...@gmail.com> wrote: > > 1) how to modify the the tickment of x-axis or y-axis. > > boxplot(data[,1:5]) > > the tickment in x-axis in V1 V2 V3 V4 V5 ,I want to be some name for > > example > > name<-c("1day","2day","3day","4day","5day") > > > > 2) how to overlap two plot into one figure? > > plot(data[1:5]) > > boxplot(newdata[,1:5]) > > ? > > > > -- > > TANG Jie > > > > > > -- > Sarah Goslee > http://www.functionaldiversity.org > > ______________________________________________ > 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.