R-beta: adjusting y-axis scale with multiple lines in plot
mjantti at abo.fi
Wed May 6 12:29:22 CEST 1998
I am plotting multiple densities in a single plot. If the max of a new
density (added with 'lines()') is sufficiently larger than that of the
one first plotted (using 'plot()'), the new density is cut or
trucated off of the figure. Is there a simple way of adjusting the
yscale after all lines have been added?
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
Markus Jantti | Department of Statistics
markus.jantti at abo.fi | Abo Akademi University
http://www.abo.fi/~mjantti | FIN 20500 Turku, Finland
358-9-643 747 (Home/Voice) | 358-2-2154 161 (Office/Voice)
| 358-2-2154 677 (Office/Fax)
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