R-beta: adjusting y-axis scale with multiple lines in plot
Peter Dalgaard BSA
p.dalgaard at biostat.ku.dk
Wed May 6 13:45:06 CEST 1998
mjantti at abo.fi writes:
> Or is the procedure to be used to first estimate all densities, the plot
> the first one with 'ylim=c(0,max())' and the add the lines one by one?
> If anyone has pondered on and solved this, I'd be very grateful for the
Yup. That's the general procedure. Some kind of autoscaling would be
nice to have some time in the future, but currently the graphics
model in R (and S-plus) is that of a hardcopy device (e.g. a plotter)
with "no eraser".
There's also the option of using matplot(), although that'll lose the
facilities of plot.density.
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