On Nov 1, 2011, at 5:05 AM, Martin Ivanov wrote:
> Dear R users,
>
> I want to plot not only triangles point up and triangles point down,
> which is easy using the "pch" argument to "points". I
want to plot
> left and right pointing triangles as well. They must be fillable
> with colour.
>
> I browsed a little in the documentation, tried rotating the up and
> down pointing triangles, but of no avail. Any suggestions will be
> appreciated.
> plot(1:10)
> polygon(x=c(1.5,1.6,1.6), y=c(1.5,1.6,1.4))
> polygon(x=c(1.5,1.4,1.4)+1, y=c(1.5,1.6,1.4)+1)
> polygon(x=c(1.5,1.7,1.7)+1, y=c(1.5,1.7,1.3)+2, col="red")
>
> Regards,
> Martin Ivanov
>
> -----------------------------------------------------------------
> 100 ?? ?????. ???-?????? ???????????.
> Tempobet.com
> http://bg.tempobet.com/affiliates/3208311
>
> ______________________________________________
> R-help at 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.
David Winsemius, MD
Heritage Laboratories
West Hartford, CT