search for: postscriptsetlinewidth

Displaying 2 results from an estimated 2 matches for "postscriptsetlinewidth".

2000 Jun 27
0
par(lty = "1") -- lty storage-etc bug (PR#584)
...gt; { >> PostScriptDesc *pd = (PostScriptDesc *) dd->deviceSpecific; >> int i, ltyarray[8]; >> int sum = 0; >> if (pd->lty != newlty || pd->lwd != newlwd) { >> pd->lwd = newlwd; >> pd->lty = newlty; >> PostScriptSetLineWidth(pd->psfp, dd->gp.lwd*0.75); >> for(i = 0; i < 8 && newlty & 15 ; i++) { >> ltyarray[i] = newlty & 15; >> sum += ltyarray[i]; >> newlty = newlty >> 4; >> } >> if(!sum) i = 0; &gt...
2000 Jun 22
2
Postscript Legends (or not)
I discovered a little problem when using the Windows NT release of R 1.0.1, and it's still there in R 1.1.0. The boiled down version is this: I want to draw the following plot and put it into a Postscript file: x <- c(1,2,3,4); y1 <- c(1,2,3,4); y2 <- c(2,2,2,2) Fred <- c(1,2) postscript(file="d:/Bob/Papers/IFM/try2.ps") plot(x,y1, type="l")