Thanks Marc! On 1/19/08, Marc Schwartz <[EMAIL PROTECTED]> wrote: > > tom soyer wrote: > > Hi, > > > > I have a plot with type="o", or overstruck. Now I am trying to add the > > legend, but I couldn't figure out how to show the overstruck type in the > > legend. It seems that the legend only allows one to set lty. Does anyone > > know how to show overstruck in the legend? > > > > Thanks! > > Tom, > > Try this: > > plot(1:10, type = "o") > legend("topleft", legend = "Test", pch = 1, lty = 1) > > Essentially indicate both the point symbol and line type for the legend. > > HTH, > > Marc Schwartz > >
-- Tom [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.