[R] customizing the axis (adding labels)
stephen sefick
ssefick at gmail.com
Sun Aug 10 17:46:51 CEST 2008
Would you provide reproducible code because form your example it looks
like you are trying to label a scatterplot with just two lables - this
is your boxplot from yesterday? If so look into the ?boxplot and it
will tell you some answers
On Sun, Aug 10, 2008 at 11:29 AM, Jörg Groß <joerg at licht-malerei.de> wrote:
> Hi,
>
> I want to customize the x-axis.
>
> I tried that:
> par(bty="n", xaxt="n")
> so that the x-axis is supressed.
>
> then I tried to plot two variables and add a customized x-axis:
> plot(x, y)
> axis(1, at=c(1,2), labels=c("group1", "group2"))
>
> but the axis is not added to the plot.
>
> I don't understand why..
> And how then can I customize the axis?
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at 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.
>
--
Let's not spend our time and resources thinking about things that are
so little or so large that all they really do for us is puff us up and
make us feel like gods. We are mammals, and have not exhausted the
annoying little problems of being mammals.
-K. Mullis
More information about the R-help
mailing list