Marco Kienzle wrote:
> 
> Dear list,
> 
> I am facing the following problem with the legend of a plot that display
> the mean and variance of a measurement y as a function of x, the mean
> being represented by a dot and the variance by a vertical line.

At least for me the latter does not appear to be "that common" ...

> My problem is that I am unable to display the symbol (dot + vertical
> line) in the legend.
> 
> any help is welcome,
> thanks
> marco


Does the following do what you are looking for?

  legend(..., c("y.", "y|"))
or
  legend(..., expression(y[.], y["|"]))


Uwe Ligges

______________________________________________
[EMAIL PROTECTED] mailing list
http://www.stat.math.ethz.ch/mailman/listinfo/r-help

Reply via email to