Description Usage Arguments Examples
This function adds a letter and a title (both are optional) to the top of a plot. Udeful for generating paper figures.
1 2 3 4 |
letter |
A string, typically a letter or number (eg 'A', 'A)', '1', etc) to lable the plot with |
title |
A string for a plot title |
letteradj |
adj of letter. See |
titleadj |
adj of title. See |
letterfont |
font of letter. See |
titlefont |
font of title See |
lettercex |
cex of letter. See |
titlecex |
cex of title See |
letterline |
line of letter. See |
titleline |
line of title See |
lettercol |
color of letter. See |
titlecol |
color of title See |
1 2 3 | par(mar=c(3,3,3,3))
plot((1:10),col=maptocolors(vec=(1:10),colorRampPalette(c("blue","red"))),pch=19,cex=4)
labelplot("A)"," sample plot",lettercex=2,titlecex=2,titlecol="blue")
|
Loading required package: zoo
Attaching package: 'zoo'
The following objects are masked from 'package:base':
as.Date, as.Date.numeric
Loading required package: biomaRt
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.