[Rd] Truncated labels in hist (PR#8864)

pinard at iro.umontreal.ca pinard at iro.umontreal.ca
Tue May 16 01:35:29 CEST 2006


Hi, people.  Executing the following command:

   hist(rpois(100,5), labels=TRUE)

yields a graphic in which some labels are truncated (on an X11 device).
The truncated labels are those over the highest bars.  The hist function
should ideally manage enough room for the labels, automatically.
(Specifying ylim solves my problem, but yet, hist could be frienlier.)

--please do not edit the information below--

Version:
 platform = x86_64-unknown-linux-gnu
 arch = x86_64
 os = linux-gnu
 system = x86_64, linux-gnu
 status = 
 major = 2
 minor = 3.0
 year = 2006
 month = 04
 day = 24
 svn rev = 37909
 language = R
 version.string = Version 2.3.0 (2006-04-24)

Locale:
LC_CTYPE=fr_CA.UTF-8;LC_NUMERIC=C;LC_TIME=fr_CA.UTF-8;LC_COLLATE=fr_CA.UTF-8;LC_MONETARY=fr_CA.UTF-8;LC_MESSAGES=fr_CA.UTF-8;LC_PAPER=C;LC_NAME=C;LC_ADDRESS=C;LC_TELEPHONE=C;LC_MEASUREMENT=C;LC_IDENTIFICATION=C

Search Path:
 .GlobalEnv, package:methods, package:stats, package:graphics, package:utils, package:datasets, fp.etc, package:grDevices, Autoloads, package:base

-- 
François Pinard   http://pinard.progiciels-bpi.ca



More information about the R-devel mailing list