[R] Move the main titel to the left of the plot

Deepayan Sarkar deepayan.sarkar at gmail.com
Fri Sep 16 09:53:53 CEST 2011


On Thu, Sep 15, 2011 at 2:26 PM, markm0705 <markm0705 at gmail.com> wrote:
> Dear R helpers
>
> I wish to move the main title, which appears on a dotplot to be right
> aligned with the left axis.

It's horizontally centered in the full plot area by default.

> Is there are parameter associated with dotplot
> 'main' that allows the title to be placed where I want it?

'main' can be a list, which can include arguments for grid::grid.text(), e.g.,

main = list("main title", x = 0.1, just = "left")

-Deepayan



More information about the R-help mailing list