[R] How to suppress default legend in plot.cuminc()

rob R.C.M.vanKruijsdijk at umcutrecht.nl
Thu May 16 09:19:25 CEST 2013


You could also try the following:
  
plot(xx,lty=1,color=1:6,wh=c(0,3))

The wh-argument sets the coordinates for the topleft corner of the
legend-box. By giving coordinates that fall outside the plot no legend will
appear. You can later add a custom legend with the legend()-function.

Hope this works for you,
Rob



--
View this message in context: http://r.789695.n4.nabble.com/How-to-suppress-default-legend-in-plot-cuminc-tp4664305p4667170.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list