On 07/12/2012 08:25, Laurent Gautier wrote:
In the documentation for graphics::legend(), the entry for pch is:
pch: the plotting symbols appearing in the legend, either as
vector of 1-character strings, or one (multi character)
string. _Must_ be specified for symbol drawing.
If I did not misread them, examples in the same documentation page
suggest that it is also possible to pass integers.
The authors of legend() have not responded AFAICS.
It is possible to pass some integers, but 'pch = c(-1, 3, 4)' is not
explained. Strangely although ?points documents the interpretation of
both positive and non-negative integers, legend() excludes negative ones.
I'll correct the docs, at least.
Thank you for the report.
--
Brian D. Ripley, rip...@stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UKFax: +44 1865 272595
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel