[R] easy graphics question
Sundar Dorai-Raj
sundar.dorai-raj at pdf.com
Sun Jan 5 01:39:02 CET 2003
Myriam,
Here's a simple script that lists the pch symbols:
plot(x=0,type="n",xlim=c(0,1),ylim=c(0,1))
for(i in 1:100) {
j = i - 1
x = j%%10/10
y = j%/%10/10
cat("(",x,",",y,",",i,")\n")
points(x,y,pch=i)
}
No arrow that I see. Look up ?arrows instead.
> version
_
platform i386-pc-mingw32
arch i386
os mingw32
system i386, mingw32
status
major 1
minor 6.1
year 2002
month 11
day 01
language R
Regards,
Sundar
Myriam Abramson wrote:
> What's the pch code for drawing an arrow in a plot?
>
> myriam
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> http://www.stat.math.ethz.ch/mailman/listinfo/r-help
More information about the R-help
mailing list