Displaying 5 results from an estimated 5 matches for "psfp".
Did you mean:
psf
2000 Jun 27
0
par(lty = "1") -- lty storage-etc bug (PR#584)
...Desc *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;
>>...
2000 Feb 07
4
Segmentation fault, devPS.c, 0.99.0 (PR#413)
...at fprintf.c:32
32 fprintf.c: No such file or directory.
(gdb) up
#2 0x806ca78 in PostScriptEndPage (fp=0x726b2e78) at devPS.c:513
513 fprintf(fp, "ep\n");
(gdb) up
#3 0x806d953 in PS_NewPage (dd=0x81df2d0) at devPS.c:1015
1015 if(pd->pageno > 1) PostScriptEndPage(pd->psfp);
(gdb) up
#4 0x8087c75 in Rf_GNewPlot (recording=1, ask=-2147483648) at graphics.c:1781
1781 dd->dp.newPage(dd);
(gdb) up
#5 0x80a33ab in do_plot_new (call=0x405ba44c, op=0x402e01b8, args=0x409418e0,
env=0x40941944) at plot.c:370
370 dd = GNewPlot(call != R_NilValue, ask);
(gdb)...
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")
1997 Jul 30
0
R-alpha: more on line types
...the color). Should psx11.c be devpsx11.c? Diffs:
*** psx11.c.orig Wed Jul 30 10:08:48 1997
--- psx11.c Wed Jul 30 10:09:10 1997
***************
*** 293,298 ****
--- 293,299 ----
}
if(fg != NA_INTEGER) {
psx11_SetColor(fg);
+ psx11_SetLinetype(GP->lty);
PostScriptOpenRectangle(psfp,
xoffset + xscale * x0,
yoffset + yscale * y0,
*** devPicTeX.c.orig Wed Jul 30 10:16:33 1997
--- devPicTeX.c Wed Jul 30 10:11:24 1997
***************
*** 446,451 ****
--- 446,452 ----
/* Possibly Filled Rectangle */
static void PicTeX_Rect(double x0, double y0, double x1, double y1, i...
1997 Jul 30
0
R-alpha: line types
...nt)x0, (int)y0,
(int)x1 - (int)x0, (int)y1 - (int)y0);
}
*** devPS.c.orig Sun Jul 6 21:29:03 1997
--- devPS.c Tue Jul 29 17:01:05 1997
***************
*** 433,438 ****
--- 433,439 ----
}
if(fg != NA_INTEGER) {
SetColor(fg);
+ SetLinetype(GP->lty);
PostScriptOpenRectangle(psfp, x0, y0, x1, y1);
}
}
*** plot.c.orig Tue Jul 29 16:43:34 1997
--- plot.c Tue Jul 29 16:51:02 1997
***************
*** 875,880 ****
--- 875,883 ----
GSavePars();
+ if(nlty && INTEGER(lty)[i % nlty] != NA_INTEGER) GP->lty = INTEGER(lty)[i % nlty];
+ else GP->lty = DP-&g...