search for: filloddeven

Displaying 12 results from an estimated 12 matches for "filloddeven".

2009 May 29
1
png() error in recent R-devel on Windows
Hi, Tested with the latest r-devel snapshot build for Windows (2009-05-28 r48663): > png("test.png") Error in png("test.png") : invalid value of 'fillOddEven' The png() function is defined like this: > png function (filename = "Rplot%03d.png", width = 480, height = 480, units = "px", pointsize = 12, bg = "white", res = NA, restoreConsole = TRUE) { if (!checkIntFormat(filename)) stop("invali...
2011 Dec 02
0
Save Venn-diagram (Vennerable) together with table and plot in single pdf page
...t;A","B","C") x <- Venn(SetNames = Varnames,Weight = c(`100`=2,`010`=6,`001`=10,`110`=1, `011`=0.2, `101`=0.5,`111`=1)) cx<-compute.Venn(x,doWeights = TRUE) tabletext<-paste("Variable: ",letters[1:8],sep="") pdf("path/plot_test.pdf", fillOddEven=TRUE,paper="a4", onefile=TRUE,width=7,height=10) layout(matrix(c(1,2,2,1,2,2,3,3,3), 3, 3, byrow = TRUE),heights=c(1,1,2)) par(mar=c(6,2,2,4)) textplot(tabletext,valign="top",halign="left",cex=2) plot(rnorm(100),main="Random 1") plot(rnorm(100),col="red...
2010 Apr 29
1
Request - adding recycled "lwd" parameter to polygon
...y$x, xy$y, col, border, lty, lwd,...)) doesn't accept lwd...) Here is the updates code I wrote: polygon2 <- function (x, y = NULL, density = NULL, angle = 45, border = NULL, col = NA, lty = par("lty"), lwd =par("lwd") ,..., fillOddEven = FALSE) { ..debug.hatch <- FALSE xy <- xy.coords(x, y) if (is.numeric(density) && all(is.na(density) | density < 0)) density <- NULL if (!is.null(angle) && !is.null(density)) { polygon.onehatch <- function(x, y, x0, y0, xd, yd,...
2010 Apr 29
1
Request - adding recycled "lwd" parameter to polygon
...y$x, xy$y, col, border, lty, lwd,...)) doesn't accept lwd...) Here is the updates code I wrote: polygon2 <- function (x, y = NULL, density = NULL, angle = 45, border = NULL, col = NA, lty = par("lty"), lwd =par("lwd") ,..., fillOddEven = FALSE) { ..debug.hatch <- FALSE xy <- xy.coords(x, y) if (is.numeric(density) && all(is.na(density) | density < 0)) density <- NULL if (!is.null(angle) && !is.null(density)) { polygon.onehatch <- function(x, y, x0, y0, xd, yd,...
2011 Nov 05
1
How to infer default width and height for a device?
...ments to postcript(): > args(grDevices::postscript) function (file = ifelse(onefile, "Rplots.ps", "Rplot%03d.ps"), onefile, family, title, fonts, encoding, bg, fg, width, height, horizontal, pointsize, paper, pagecentre, print.it, command, colormodel, useKerning, fillOddEven) and in the list of predefined device options they are zero: > ps.options()[c("width", "height")] $width [1] 0 $height [1] 0 and debugging postcript() they are indeed passed as zeros to .External(PostScript, ...). > sessionInfo() R version 2.14.0 Patched (2011-11-03 r...
2019 May 14
3
Unir coordenas en un plano mediante linea
Buenos días -- Francisco Maturana Miranda Dr. Planificación territorial, urbanismo y dinámicas del espacio Profesor Asociado, Departamento de Geografía Universidad Alberto Hurtado www.fmaturana.cl [[alternative HTML version deleted]]
2011 Sep 13
1
CMYK color space
dear R experts---I am struggling with the requirements to prepare my files for my printers. I am printing in 2/2 format, which means cyan and black for me, which they take from my color-separated pdf files. R comes into play, because it produces all the figures that are embedded in my book (pdflatex). now, TeX has no problems producing CMYK files. However, R produces RGB files (for
2012 Nov 01
3
Duda gráfico DIN A-4
Hola, ¿Alguien me puede indicar cómo conseguir que un gráfico se adapte al formato DIN-A4, con su correspondiente verticalidad?. ¿Hay que hacerlo "manualmente" o existe algún parámetro/función que lo controle?. Gracias. Eva [[alternative HTML version deleted]]
2009 Oct 26
0
R 2.9.0 is released
...foo} and \link[pkg:foo]{bar} where 'foo' is an alias in the package, rather than the documented (basename of a) filename (since the documentation has been much ignored). NEW FEATURES o polygon(), pdf() and postscript() now have a parameter 'fillOddEven' (default FALSE), which controls the mode used for polygon fills of self-intersecting shapes. o New debugonce() function; further, getOption("deparse.max.lines") is now observed when debugging, from a code suggestion by John Brzustowski. (PR#13647/8)...
2009 Oct 26
0
R 2.9.0 is released
...foo} and \link[pkg:foo]{bar} where 'foo' is an alias in the package, rather than the documented (basename of a) filename (since the documentation has been much ignored). NEW FEATURES o polygon(), pdf() and postscript() now have a parameter 'fillOddEven' (default FALSE), which controls the mode used for polygon fills of self-intersecting shapes. o New debugonce() function; further, getOption("deparse.max.lines") is now observed when debugging, from a code suggestion by John Brzustowski. (PR#13647/8)...
2009 Oct 26
0
R 2.10.0 is released
...foo} and \link[pkg:foo]{bar} where 'foo' is an alias in the package, rather than the documented (basename of a) filename (since the documentation has been much ignored). NEW FEATURES o polygon(), pdf() and postscript() now have a parameter 'fillOddEven' (default FALSE), which controls the mode used for polygon fills of self-intersecting shapes. o New debugonce() function; further, getOption("deparse.max.lines") is now observed when debugging, from a code suggestion by John Brzustowski. (PR#13647/8)...
2009 Oct 26
0
R 2.10.0 is released
...foo} and \link[pkg:foo]{bar} where 'foo' is an alias in the package, rather than the documented (basename of a) filename (since the documentation has been much ignored). NEW FEATURES o polygon(), pdf() and postscript() now have a parameter 'fillOddEven' (default FALSE), which controls the mode used for polygon fills of self-intersecting shapes. o New debugonce() function; further, getOption("deparse.max.lines") is now observed when debugging, from a code suggestion by John Brzustowski. (PR#13647/8)...