Displaying 20 results from an estimated 40000 matches similar to: "pdf and postscript sizes - change on each page?"
2004 Jun 02
1
Using postscript() in a script that is source()ed
I have a script that draws 9 graphics which I would like to run by
source()ing the file. In the script I make objects that contain each
of the graphics (all lattice objects or functions that contain
lattice functions). Then at the end of the script, I have a section
which prints them to separate eps files like this:
postscript(file = "dryoutcover.eps", height = 5, width = 7,
2005 Oct 10
2
R.app window size
Hi all,
This is a question for any of you who use R.app (OS X). Is there any
way to resize the quartz plot window from within R? I know that you
can resize the window by dragging the corner of the window, and fro
the preferences panel. But is there a way to specify the window size
from the console? I want to specify the size of the plot window from
inside an R function.
Also a
2010 Nov 07
1
postscript window size
Dear R users, simple figure:
postscript(file="~/Desktop/figure.ps", horizontal=T, width=20, height=10)
par(mfcol=c(2,5))
plot(rnorm(100), type='l')
plot(rnorm(100), type='l')
plot(rnorm(100), type='l')
plot(rnorm(100), type='l')
plot(rnorm(100), type='l')
##-----
plot(rnorm(100), type='l')
plot(rnorm(100), type='l')
2008 May 03
0
Quartz doesn't display x-axis properly until a window resize (PR#11368)
Full_Name: Luis Lopez-Oliveros
Version: 2.7.0
OS: Mac OS X 10.5.2
Submission from: (NULL) (71.176.115.32)
In R 2.7.0 for Mac OS X, Quartz plots are drawn a little bit off-screen. What
happens is that
the plots appear to be displayed a little below than where they should be in the
Quartz window,
causing the x-axis to be drawn off-screen, "below" the bottom of the Quartz
window.
When
2009 Dec 11
2
incorrect linetype with pdf device (PR#14128)
Full_Name: baptiste augui?
Version: 2.10.1 RC (2009-12-06 r50690)
OS: Mac OSX 10.5
Submission from: (NULL) (90.25.215.172)
The following code, run with a vanilla R session, produces different visual
output for the two devices,
library(grid)
pdf("test-pdf.pdf")
grid.newpage()
grid.lines(gp=gpar(lty="13", lineend = "butt"))
dev.off()
png("test-png.png")
2008 May 07
2
figure margins too large for a barplot in png, pdf ok
I've used to have a script with a barplot command it in, preceded by a
png:
png(graph.file,height=H,width=W)
barplot(t,names.arg=breaks[2:(length(t)+1)],tck=gridlines)
-- worked before R 2.6.2. When I tried it in R 2.6.2, which I have
for a while but didn't run with that script, it complained, the
margins too large, and I've googled the messages from our list where
neither
2011 Oct 02
1
plot: how to fix the ratio of the plot box?
Dear all,
this should be trivial, but I couldn't figure out how to solve it... I would like to have a plot with fixed aspect ratio of 1. Whenever I resize the Quartz window, the axes are extended so that the plot fills the whole window. However, if you have different extensions for the different axes, the plot does not look like "a square" anymore (i.e., aspect ratio 1). The same
2009 Aug 17
1
image() generates many border lines in pdf, not on screen (quartz) - R 2.9.1 GUI 1.28 Tiger build 32-bit (5444) - OS X 10.5.8
Dear all,
I have invested substantial amount of work in a complicated, yet on
screen perfect looking graph that uses image(). Unfortunately saving it
as pdf (or quartz.save at high resolution) all generate very disturbing
border lines around each small rectangle that image() has drawn. While
using Preview it helps to turn off antialiasing to make those faint
lines disappear on screen
2006 Aug 01
1
R crashes using pdf() windows() or postscript()
Dear HelpeRs,
I have a script where I save several thousands of graphics. These are
then used in Latex through Sweave. Unfortunately R crashes while making
these plots and Windows pops up some message that I run low on virtual
memory. I tried to save the plots using pdf(), windows() and
postscript() and also tried to run it with R CMD BATCH myscript.R. But
after a while R slows down and crashes
2004 Mar 10
0
PDF and Postscript figures in Solaris 9
Dear R-help,
I just configured and installed R-1.8.1 according to the following
R is now configured for sparc-sun-solaris2.9
Source directory: .
Installation directory: /usr/local
C compiler: gcc -g -O2
C++ compiler: g++ -g -O2
Fortran compiler: g77 -g -O2
Interfaces supported: X11
External libraries: readline
Additional capabilities: bzip2,
2007 Apr 04
1
rgl.postscript generating pdf: floating xlab, font size, transparency
Hello,
I very much enjoy rgl! But when converting the screen output to pdf
using rgl.postscript I have encountered three problems:
(1) I don't seem to have control over font sizes and point sizes (of
added points) in the pdf output. I tried cex from "plot" but that
does not have an effect. Initially I got some plots where fonts and
especially points were far too small. But now
2008 Jun 23
0
R 2.7.1 is released
I've rolled up R-2.7.1.tar.gz a short while ago.
This is a maintenance release and fixes a number of mostly minor bugs
and platform issues.
Notably, the numeric interpretation of "-", "+", and "." has reverted to
pre-2.7.0 behaviour
See the full list of changes below.
You can get it (in a short while) from
http://cran.r-project.org/src/base/R-2/R-2.7.1.tar.gz
2008 Jun 23
0
R 2.7.1 is released
I've rolled up R-2.7.1.tar.gz a short while ago.
This is a maintenance release and fixes a number of mostly minor bugs
and platform issues.
Notably, the numeric interpretation of "-", "+", and "." has reverted to
pre-2.7.0 behaviour
See the full list of changes below.
You can get it (in a short while) from
http://cran.r-project.org/src/base/R-2/R-2.7.1.tar.gz
2009 Jun 03
2
Problems with plot and Quartz device (PR#13744)
Full_Name: Thomas Richardson
Version: R 2.9.0 GUI 1.28 Tiger build 32-bit (5395)
OS: 10.4.11
Submission from: (NULL) (216.254.15.72)
I have encountered a problem with points in scatterplots disappearing in a
quartz window when it is re-sized (to make it larger).
I am constructing an 8x12 matrix of scatterplots each containing approx 600
points.
In order to get them in the window I remove the
2003 May 29
4
Postscript query: plotting long vectors
Hi,
I have a query about the maximum length of vector that can be plotted
in one go in a postscript driver. Try the following code (in 1.7.0;
version details below):
t <- seq(from=0, to=4*pi, length=200000)
y <- sin(t)
postscript(file="o.ps")
plot(t, y, type="l")
dev.off()
If I view the postscript file o.ps in "gv", it takes many seconds
before eventually
2002 Sep 23
2
Change page in postscript()
Hi,
Another question about graphics...
Suppose I have:
par(mfrow = c(4, 6))
which will set up a figure region for 24 plots. But, I actually only need
23 plots. In fact I wrote a little function, foo.plot, which will draw
all the 23 plots at once with:
foo.plot(x)
where x is a data frame.
Now, suppose I want to draw several set of these 23 plots, but want to put
them all in one postscript
2020 May 08
0
Wine release 5.8
The Wine development release 5.8 is now available.
What's new in this release (see below for details):
- Support for Plug & Play device notifications.
- More support for building with Clang in MSVC mode.
- Still more progress on the WineD3D Vulkan backend.
- Initial implementation of a GIF encoder.
- Vulkan spec update.
- Various bug fixes.
The source is available from the
2012 Oct 08
2
device error pdf
Hi,
Iwrote 'pdfc' in analogy to 'lpr':
pdfc <- function (file = "Rplot.pdf") {
current.device <- dev.cur()
dev.off(dev.copy(device = pdf, file = file, ...))
dev.set(current.device)
print(paste(file, "generated."))
}
lpr <- function (object, file = "Rplotlpr.ps", ...)
{
if (missing(object)) {
current.device <-
2003 May 30
1
Re: [R] Postscript query: plotting long vectors (PR#3132)
Prof Brian Ripley <ripley@stats.ox.ac.uk> writes:
> Except that there is nothing reproducible in that report, not even the
> claimed (by Don MacQueen) incorrect lines!
Er, right, sorry. Here's a version of the effect, for inclusiont with
the report:
postscript()
x <- seq(0,2*pi,,50000)
plot(x,sin(x),type="l")
dev.off()
Count reduced from the original 200000 to
2008 Jan 31
1
PDF Different Page Sizes
Hi,
I am using the pdf() function to write out a pdf file that contains multiple
plots (a plot per page). Is there a way to specify different page sizes for
each plot in the file e.g. on page 1 in the pdf file I want (width=10,
height=10) on page 2 (width=20, height=20), etc.
Any help would be gratefully appreciated.
Kind regards,
Sam
[[alternative HTML version deleted]]