On Tue, 22 Jul 2003 17:59:24 +0100, "Luis Miguel Almeida da Silva"
<[EMAIL PROTECTED]> wrote :

>Dear helpers
> 
>Is it possible to plot with a desired character? For example "tr" for training error 
>and "te" for test error.
>I tried 
> 
>plot(x,y,pch="tr")
> 
>but only appears "t" in the plot

Use text() instead:

 plot(x, y, type='n')
 text(x, y, "tr")

The first line sets up the axes, etc; the second one actually plots
the strings.  You can plot a whole character vector of different
values if you like.

Duncan Murdoch

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

Reply via email to