[R] labeling

Jim Lemon jim at bitwrit.com.au
Fri Apr 26 14:34:20 CEST 2013


On 04/26/2013 10:15 PM, Shane Carey wrote:
> Hi,
>
> I have a dataset as follows:
>             Name
>                    N
> Visean limestone&  calcareous shale
> 20000
> Visean sandstone, mudstone&  evaporite
>   22222
> Westphalian shale, sandstone, siltstone&  coal
> 1111
>
> How do I combine them so that I can label a plot with
>
> Visean limestone&  calcareous shale
>                     N=20000
>
> for example on two lines with  N=20000 centered on the length of the Name
> label?
>

Hi Shane,
Look at the "title" function (graphics) and the "main" and "sub" arguments.

Jim



More information about the R-help mailing list