[R] denoting max value in ylim

helene frigstad helenefrigstad at hotmail.com
Fri Nov 20 15:12:07 CET 2009


Hi,

is there any way to set the ylim range from zero to whatever is the max
value in that dataset? I am plotting many similar plots to the one below,
and would like to avoid having to find the max value each time. 


plot (D10$Part.P ~ D10$Klorofyll,pch=16,log = "xy", xlab = ("Chla"), ylab =
("POP"), ylim = c (0, ???)) 
	abline(m3, untf=TRUE, lty=1,col="blue")
	text(5, 0.05,paste(round(glm(D10$Part.P ~ D10$Klorofyll, data = D10, family
= Gamma(link =      "identity"))$coef, 2),collapse = " "))

thank you very much for your time and help.

Best regards,
Helene Frigstad
-- 
View this message in context: http://old.nabble.com/denoting-max-value-in-ylim-tp26441590p26441590.html
Sent from the R help mailing list archive at Nabble.com.




More information about the R-help mailing list