
This function generates all the gpar()
elements for the different text elements within the graph.
Elements not specified inherit their default settings from the
label
argument.
fpTxtGp(label, summary, xlab, title, ticks, legend, legend.title, cex = 1)
A list of the fpTxtGp
class
The text labels (see details below)
The summary labels (see details below)
The xlab text
The plot title
The ticks associated with the xlab
The legend text
The legend title
The font size
You can provide a list
of elements for the label
and summary
in order to specify separate elements. If you
provide a list
in one dimension the gpar
elements are assumed
to follow the columns. If you provide a list
of 2 dimensions the
structure assumes is list[[row]][[column]]
and the number of elements
should correspond to the number of labels for the label
argument, i.e.
without the rows marked as summary elements. The same goes for summary
arguments.
fpTxtGp(label = gpar(fontfamily = "HersheySerif"))
Run the code above in your browser using DataLab