Skip to content

triangles point left, filled?

3 messages · Martin Ivanov, David Winsemius, Jim Lemon

#
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.

Regards,
Martin Ivanov

-----------------------------------------------------------------
100 ?? ?????. ???-?????? ???????????. Tempobet.com
http://bg.tempobet.com/affiliates/3208311
#
On Nov 1, 2011, at 5:05 AM, Martin Ivanov wrote:

            
> 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")
David Winsemius, MD
Heritage Laboratories
West Hartford, CT
#
On 11/01/2011 08:05 PM, Martin Ivanov wrote:
Hi Martin,
Have a look at the "my.symbols" function in the TeachingDemos package.

Jim