powered by
nos.legend(nams, legend = 1:length(nams), width)
txtplot
## 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)
Run the code above in your browser using DataLab