[R] how to rotate the histogram

Yihui Xie xieyihui at gmail.com
Fri Mar 13 07:21:31 CET 2009

You may refer to the last example in ?layout

Yihui Xie <xieyihui at gmail.com>
Phone: +86-(0)10-82509086 Fax: +86-(0)10-82509086
Mobile: +86-15810805877
Homepage: http://www.yihui.name
School of Statistics, Room 1037, Mingde Main Building,
Renmin University of China, Beijing, 100872, China

On Wed, Mar 11, 2009 at 5:33 PM, Abelian <abelian1982 at gmail.com> wrote:
> Dear all
> I want to combine two figures on one plot. First figure display the
> data distribution. The x-axis of first figure is individual's ranking
> and the y-axis of first figure is probability. However, the second
> figure is a histogram about probability. In order to make the figure
> more clearly, i want to put those two figure together. But i have a
> problem that i can not rotate the histogram.Because i want put the x-
> axis of histogram on the left side of first figure.
> Can anyone provide some way to solve this problem.
> Sinerely
> ______________________________________________
> 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.

More information about the R-help mailing list