[R] two question about plot
petr.pikal at precheza.cz
Fri Sep 2 08:39:32 CEST 2011
> Re: [R] two question about plot
> The help for boxplot offers suggestions for both those things. You may
> 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.
It could be also worth to consult also bwplot from lattice or especially
ggplot2 package for plotting.
> On Thu, Sep 1, 2011 at 1:31 PM, Jie TANG <totangjie at 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
> R-help at r-project.org mailing list
> PLEASE do read the posting guide
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help