Displaying 18 results from an estimated 18 matches for "pagecentre".
2009 Jan 19
1
patch for textspecial and defaultfont in xfig
...postscript.R (working copy)
@@ -273,7 +273,7 @@
paper = "default", horizontal = TRUE,
width = 0, height = 0, family = "Helvetica",
pointsize = 12, bg = "transparent", fg = "black",
- pagecentre = TRUE)
+ pagecentre = TRUE, defaultfont = FALSE, textspecial
= FALSE)
{
## do initialization if needed
initPSandPDFfonts()
@@ -281,7 +281,7 @@
if(!checkIntFormat(file)) stop("invalid 'file'")
.External(XFig, file, paper, family, bg, fg...
2000 Jun 16
1
postscript device on R-1.1.0
..."default")
old$command <- if (!is.null(cmd <- getOption("printcmd")))
cmd
else ""
.Internal(PS(file, old$paper, old$family, old$bg, old$fg,
old$width, old$height, old$horizontal, old$pointsize,
old$onefile, old$pagecentre, old$print.it, old$command))
}
> temp_check.options(new=list(onefile=T), name.opt =
".PostScript.Options", reset=F, assign.opt=F)
> names(temp)
[1] "paper" "horizontal" "width" "height" "family"
[6] "pointsiz...
2006 Jul 10
2
Source code for R graphics devices
...ile is similar in
nature (though very different in detail) to 'pic' code.
When, in R, I type "xfig" to see the R code, I get the
line
.Internal(XFig(file, old$paper, old$family, old$bg, old$fg,
old$width, old$height, old$horizontal, old$pointsize,
old$onefile, old$pagecentre))
so I tried to locate the code for the Internal function "Xfig".
I can't seem to find it!
So where should I be looking?
Also -- a more general question on this topic -- presumably
any R graphics device is driven by a "stream" of raw graphics
data in some presumably devi...
2003 Feb 05
2
postscript: can't center plot
...ghtly larger margin
than the default, so I'm trying to send slightly smaller graphics to
it, but all the extra margin I provide ends up at the right and
bottom of the page.
These are the relevant (I imagine) ps.options:
$paper [1] "special"
$width [1] 10
$height [1] 8
$pagecentre [1] TRUE
I tried this on two systems, in two versions of R, and the output
is identical.
linux: R 1.6.1 (2002-11-01)
mips-sgi-irix6.5: R 1.6.1 Beta (2002-10-28)
I'll attach a postscript file, which is very simple but I think
shows the asymmetry I'm talking about.
I'll file a bug...
2011 Nov 05
1
How to infer default width and height for a device?
...R? I've noticed
that they are not defined by the arguments 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, ...)....
2000 Aug 10
1
Usage questions
...postscript help page and it seems like
there's something missing, or I'm illiterate, or both:
postscript(file = ifelse(onefile, "Rplots.ps", "Rplot
onefile = TRUE,
paper, family, bg, fg, width, height, horizontal,
pointsize,
pagecentre, print.it, command))
The first line does not appear to be complete.
--
Paul E. Johnson email: pauljohn at ukans.edu
Dept. of Political Science http://lark.cc.ukans.edu/~pauljohn
University of Kansas Office: (785) 864-9086
Lawrence, Kansas 66045...
2008 May 22
1
plot 7 * 3 matrix on DIN A4 pdf
...specify the a different page size, the plots still do not
fill out the whole page.
Anybody an idea what to do? Maybe adjusting indvidiual plot size (if
so, how?). Or is there a neater command to create a matrix of
individual plots
Best,
Stefan
pdf(file='c:/matrix1.pdf',paper='a4',pagecentre=F)
x<-c(rnorm(mean(100,mean=50,sd=10)),rnorm(mean(100,mean=50,sd=10)))
par(mfcol=c(7,3))
par(pch=19)
par(pty="m") #"s" makes a square plot
par(cex=.1)
par(cex.axis=7)
par(omi=c(1,1,1,1))
axistick<-c(0,10,20,30,40,50,60,70,80,90,100)
par(mar=c(3, 5, 0, 0) + 0.1)
plot...
2008 Jan 14
3
%s in filename when opening device causes crash (PR#10571)
Full_Name: Richard Cotton
Version: 2.6.1
OS: Windows XP (32bit)
Submission from: (NULL) (193.119.236.82)
Using %s in a filename when opening a device causes R to crash, e.g.,
pdf("foo%s.pdf")
win.metafile("foo%s.wmf")
postscript("foo%s.ps")
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
2005 May 14
1
make check fails after building R 2.1.0 on Fedora Core 3
I have R v2.0.1 already running on the machine in question; a fairly
generic Fedora Core 3 machine. I am trying to build the new version
2.1.0 and have not been able to troubleshoot the problem I encountered.
I'm hoping someone else has seen it and can suggest a troubleshooting
avenue to me.
The build succeeds, both from the source RPM and from the tarball. I
believed I had all the build
2009 Mar 12
3
set size of a plot
Hi,
I have the following R-code:
pdf(file="test.pdf")
hist(rcauchy(100))
dev.off()
How can I set the size of the histogram in my pdf?
I tried to do with par(...) but I didn't find the right parameter yet.
Thanks, Max
--
View this message in context: http://www.nabble.com/set-size-of-a-plot-tp22477083p22477083.html
Sent from the R help mailing list archive at Nabble.com.
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 Aug 10
4
Saving plots to file
Appologies if this has been addressed before, but I can't seem to find it in
the help archives.
I'm looking to do something like the following but it looks like save.plot
is deprecated.
save.plot(plot(glm1$residuals,gain,main = "Hist of residuals and
gain"),file="Desktop/hist1.png")
Thanks in advance,
Sean
Session Info:
R version 2.9.1 (2009-06-26)
1999 Oct 06
1
R-0.65.1 is released
...input was a character.
o plot.stepfun has new arguments lty and lwd.
o x labels in boxplot now handled differently, so that math
expressions are allowed.
o postscript() argument `onefile' now does something, and there
is a new paper type `special' and new argument `pagecentre'.
See ?postscript for details.
o Experimental function dev2bitmap() to copy to a bitmap graphics format.
BUG FIXES
o centering in text() will be more accurate, particularly on devices
with full font metric information (postscript, x11, not windows).
o arguments after --no-rea...
1999 Oct 06
1
R-0.65.1 is released
...input was a character.
o plot.stepfun has new arguments lty and lwd.
o x labels in boxplot now handled differently, so that math
expressions are allowed.
o postscript() argument `onefile' now does something, and there
is a new paper type `special' and new argument `pagecentre'.
See ?postscript for details.
o Experimental function dev2bitmap() to copy to a bitmap graphics format.
BUG FIXES
o centering in text() will be more accurate, particularly on devices
with full font metric information (postscript, x11, not windows).
o arguments after --no-rea...
2001 Feb 17
4
Comments on R-1.2.1 builds (PR#851)
...is mixed with another type.
width, height, (double)horizontal, ps, onefile,
^
cc-1185 c89: WARNING File = devices.c, Line = 108
An enumerated type is mixed with another type.
pagecentre, printit, cmd)) {
^
cc-1185 c89: WARNING File = devices.c, Line = 108
An enumerated type is mixed with another type.
pagecentre, printit, cmd)) {
^
cc-1185 c89: WARNING File = devices.c, Line = 145
A...
2005 Apr 18
1
R-2.1.0 is released
...-pixel
square even on high-resolution screens and Windows printers,
but 1/72" on postscript() and pdf() devices.) Additionally,
the size is now scalable by 'cex'; see ?points and note that
the details are subject to change.
o pdf() now responds to the 'paper' and 'pagecentre'
arguments. The default value of 'paper' is "special"
for backward-compatibility (this is different from the
default for postscript()).
o plot.data.frame() tries harder to produce sensible plots for
non-numeric data frames with one or two columns.
o The predict(...
2005 Apr 18
1
R-2.1.0 is released
...-pixel
square even on high-resolution screens and Windows printers,
but 1/72" on postscript() and pdf() devices.) Additionally,
the size is now scalable by 'cex'; see ?points and note that
the details are subject to change.
o pdf() now responds to the 'paper' and 'pagecentre'
arguments. The default value of 'paper' is "special"
for backward-compatibility (this is different from the
default for postscript()).
o plot.data.frame() tries harder to produce sensible plots for
non-numeric data frames with one or two columns.
o The predict(...