Message-Id: <199805061029.NAA10268@net28.labour.fi> Date: Wed, 6 May 1998 13:29:22 +0300 (EEST) From: mjantti@abo.fi Subject: R-beta: adjusting y-axis scale with multiple lines in plot To: r-help@stat.math.ethz.ch Hello -- 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 solution. Regards, Markus -- Markus Jantti | Department of Statistics markus.jantti@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@stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._