[R] x axis point labels
Peter Dalgaard BSA
p.dalgaard at biostat.ku.dk
Mon Sep 24 23:11:25 CEST 2001
Michaell Taylor <michaell.taylor at reis.com> writes:
> I am attempting to manually specify x axis value labels (NOT x axis label as
> in xlab) on a density plot. Generally speaking, I would like to erase the
> default x axis point labels and replace them with arbitrary x axis point
> labels relating to specific CDF points.
> I am sure this can be done, but it isn't obvious to me how. Has anyone done
> this before?
Yes. Try this, one line at the time:
Then look at the documentation for axis()
> My R code follows if it helps (new to R so please excuse any awkwardness that
> you notice.)
Doesn't really. You might want to lose the "_" for assignment, though.
It is a relic that several people want to see disappear in future
versions, so do youself a favour and use "<-".
O__ ---- Peter Dalgaard Blegdamsvej 3
c/ /'_ --- Dept. of Biostatistics 2200 Cph. N
(*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907
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