nos.legend {NostalgiR} | R Documentation |
Generates a text-based legend that relates plot characters to functional values or outcomes.
nos.legend(nams, legend = 1:length(nams), width)
nams |
A vector that specifies what each plot symbol represents. |
legend |
A character vector of the plot symbols. |
width |
A numeric value that specifies the number of characters to be printed before a line-break. |
Hien D. Nguyen
## Generates a legend that relates the plot symbols c('a','b','c') to
## the functional values c(1,2,3) with line-breaks every 14 characters.
nos.legend(c(1,2,3),c('a','b','c'),14)