Skip to content
Prev 256766 / 398506 Next

R plots pdf() does not allow spotcolors?

Barry, thanks a lot for checking for this!! Find below answers.

Le 13. 04. 11 18:26, Barry Rowlingson a ?crit :
I do no get something similar... I used:
set.seed(123)

a<-runif(100)

postscript("RplotRGB.ps", colormodel="rgb")
plot(a, col="#FF00FF")
dev.off()

Interestingly, I compared with:
postscript("RplotCMYK.ps", colormodel="cmyk")
plot(a, col="#FF00FF")
dev.off()

and making a diff, I see only:
87c87,88
< 1 0 1 rgb
---
 > 0 1 0 0 setcmykcolor
 >
194c195,196
< 0 setgray
---
 > 0 0 0 1 setcmykcolor
 >
278c280,281
< 0 setgray
---
 > 0 0 0 1 setcmykcolor
 >
does not look so similar to what you obtained...
may I ask you what are outline and fill?
no but seems quite a nice solution, as I have only known cmyk colors (5) 
for which I can find Pentone matching. Could setup small script then! 
Just need to figure out why we do not get similar results you and me!!

Thanks so much!!