[R] frequency of labels in a barplot
stephen sefick
ssefick at gmail.com
Mon Aug 11 13:56:43 CEST 2008
On Sun, Aug 10, 2008 at 10:08 PM, R_Learner <sschiang8 at gmail.com> wrote:
>
> I'm trying to control the number of labels in the x-axis of my plot. My code
> is the following:
>
> graph1<-barplot(total_skew)
> axis(1,at = graph1,labels=raw_date[1:length(total_skew)], las=2)
>
> however, the length of my "total_skew" parameter is a few thousand elements,
> and all the labels on the x-axis are overlapping and cluttered. How do I
> specify the frequency or number of labels I want on the x-axis in the axis()
> function? Thanks!
> --
> View this message in context: http://www.nabble.com/frequency-of-labels-in-a-barplot-tp18919093p18919093.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> 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