[R] Add text A, B, C and D on multiple ordered plot

Fabrice Tourre fabrice.ciup at gmail.com
Fri Feb 8 20:42:10 CET 2013


Thank your reminder.
Here is the example code:

a<- rnorm(1000,0,1)
b<-rnorm(1000,0,2)
c<-rnorm(1000,0,3)
d<-rnorm(1000,0,4)
par(mfrow=c(2,2))
hist(a)
hist(b)
hist(c)
hist(d)

I want to add A, B, C and D on each top left.

On Fri, Feb 8, 2013 at 2:35 PM, John Kane <jrkrideau at inbox.com> wrote:
> Yes there probably is if you would show us what you are doing.
> Minimal working code helps.
>
> https://github.com/hadley/devtools/wiki/Reproducibility
>
> John Kane
> Kingston ON Canada
>
>
>> -----Original Message-----
>> From: fabrice.ciup at gmail.com
>> Sent: Fri, 8 Feb 2013 14:28:17 -0500
>> To: r-help at r-project.org
>> Subject: [R] Add text A, B, C and D on multiple ordered plot
>>
>> Dear list,
>>
>> Is there a elegant way to name multiple ordered plot as A, B, C and D?
>> Just put A, B, C and D on the top left corner of each plot.
>>
>> Usually I do it in Illustrator, but I think in R should there is a way.
>>
>> Could you please provide a example?
>>
>> Thank you very much in advance.
>>
>> ______________________________________________
>> 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.
>
> ____________________________________________________________
> FREE ONLINE PHOTOSHARING - Share your photos online with your friends and family!
> Visit http://www.inbox.com/photosharing to find out more!
>
> ______________________________________________
> 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