search for: newlty

Displaying 4 results from an estimated 4 matches for "newlty".

Did you mean: newfty
1997 Jul 30
0
R-alpha: more on line types
...ript (where the width and type are set in separate calls), I'd like advice. Also, is there a particular reason that default line width in PostScript is 0.75 and not 1.0? *** devX11.c.orig Tue Jul 29 16:44:19 1997 --- devX11.c Wed Jul 30 10:21:43 1997 *************** *** 389,395 **** if(newlty != lty) { if(newlty == 0) { ! XSetLineAttributes(display, wgc, 1, LineSolid, CapRound, JoinRound); lty = newlty; } else { --- 389,395 ---- if(newlty != lty) { if(newlty == 0) { ! XSetLineAttributes(display, wgc, GP->lwd, LineSolid, CapRound, JoinRound); lty...
2000 Jun 27
0
par(lty = "1") -- lty storage-etc bug (PR#584)
...t;lty". I think there's at least another (maybe the only one) bug in main/graphics.c which is not related to postscript at all, see below. Jim> A possible fix is to insert a test for zero in the function Jim> SetLineStyle() - devPS.c: >> static void SetLineStyle(int newlty, double newlwd, DevDesc *dd) >> { >> PostScriptDesc *pd = (PostScriptDesc *) dd->deviceSpecific; >> int i, ltyarray[8]; >> int sum = 0; >> if (pd->lty != newlty || pd->lwd != newlwd) { >> pd->lwd = newlwd; >> p...
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")
2000 Aug 16
1
Multiple pages with postscript() (PR#635)
Version: platform = i686-pc-linux-gnu arch = i686 os = linux-gnu system = i686, linux-gnu status = major = 1 minor = 1.0 year = 2000 month = June day = 15 language = R Search Path: .GlobalEnv, Autoloads, package:base The function will produce a three page file, but only the first one has the lwd parameter set. The other pages have reverted to lwd = 1. I've tried setting the