[R] Format of the tick label in a histogram

Paul Murrell paul at stat.auckland.ac.nz
Thu Feb 17 04:25:44 CET 2000


hi


> I am producing a series of histograms and would like to control the format
of the tick
> labels.
>
> I tried using the exp=1 option, but apparently this can't be set in a
higher level plot
> function.
>
> I've unsuccessfully tried to modify the hist command.
>
> Any suggestions?


um ... you're trying to use a graphics parameter that exists in S-Plus, but
not in R ? :)

you might be able to do some of what you want by a combination of plot(...
axes=F),
axis(... at= ... labels= ...) or mtext(), and format() and/or formatC()

paul


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list