Hi, all: Is there an automatic smart legend for R? Since my R code is running in a row, which will produce a bunch of R plots in a single run, some of the produced plots are really "ridiculous". Because my legend is fixed to "topleft", sometimes, which occludes the key parts of the figure/plots, but most of the time, the legend works just fine.
I'm wondering is there a smart legend in R? Whenever I set "topleft" but occlude the actual plots, the smart legend may reset from "topleft" to "topright". Or, just try "topleft", "topright", "bottomleft" and "bottomright" in a particular sequence, and calculate the occlusion ratio. Pick up either the legend with the least occlusion, or the first priority legend when some legends are of the same occlusion? Cheers -- Pei JIA Email: jp4w...@gmail.com cell: +1 604-362-5816 Welcome to Vision Open http://www.visionopen.com [[alternative HTML version deleted]] ______________________________________________ R-help@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.