Thanks Marc!

On 1/19/08, Marc Schwartz <marc_schwartz@comcast.net> 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]]

