I lose control on colors when I plot points with pch=1 or 16
(empty or solid circle) or any letter, say "A". For example:
x=runif(5)
y=runif(5)
pdf("plot.pdf")
plot(x, y,
type='p', pch=1, col = 1:5) #just black points
plot(x, y,
type='p', pch=0, col = 1:5) #points with different colors
dev.off()
This problem occurred for different versions of R under Mac
OS X 10.4. not sure whether this is true for other operating systems. I used my
most basic settings of R without any special package loaded. Any
suggestions/ideas
would be appreciated.
> sessionInfo()
R version 2.8.0 (2008-10-20)
powerpc-apple-darwin8.11.1
locale:
C
attached base packages:
[1] stats graphics
grDevices utils datasets methods
base
[[alternative HTML version deleted]]
I lose control on colors when I plot points with pch=1 or 16
(empty or solid circle) or any letter, say "A". For example:
x=runif(5)
y=runif(5)
pdf("plot.pdf")
plot(x, y,
type='p', pch=1, col = 1:5) #just black points
plot(x, y,
type='p', pch=0, col = 1:5) #points with different colors
dev.off()
This problem occurred for different versions of R under Mac
OS X 10.4. not sure whether this is true for other operating systems. I used my
most basic settings of R without any special package loaded. Any
suggestions/ideas
would be appreciated.
> sessionInfo()
R version 2.8.0 (2008-10-20)
powerpc-apple-darwin8.11.1
locale:
C
attached base packages:
[1] stats graphics
grDevices utils datasets methods
base
[[alternative HTML version deleted]]
Maybe Matching Threads
- Unexpected mfrow, layout behavior (pdf still has multiple pages)
- Problems with plot and Quartz device (PR#13744)
- bug in `pmatch' (error with too long 'choices')?
- Fontconfig warning with X11() on MAC OS X 10.4
- Way to handle variable length and numbers of columns using read.table(...)