Displaying 20 results from an estimated 1000 matches similar to: "Documentation of the dev.copy2eps function. (PR#10656)"
2001 Jan 09
1
Setting fontsize in dev.copy2eps
I have a figure on screen with a legend. I want to copy this
image to EPS, and use:
dev.copy2eps(file="file1.eps", width=5, height=5)
The legend that looks OK on screen doesn't look OK in the
PostScript image: the text extends out of the box.
I try adding a fontsize command:
dev.copy2eps(file="file1.eps", width=5, height=5, pointsize=5)
This options seems to
2000 Dec 29
1
dev.copy2eps: position of figure on page
The definition for dev.copy2eps contains the following line:
oc$paper <- "special"
The result of this is that the output will be placed in the left
bottom corner of the page. Even though dev.copy2eps is meant for
creating files that are to be included into other documents, you
might want to print the figure directly, just to see how it will
look on paper. (Of course, this will
2003 Jun 05
1
dev.copy2eps: Why did the colors come into my postscript output?
On a RedHat 7.3 system with R-1.6.1, I did this
> x11(width=3.5,height=4,colortype="gray")
Then plotted (with matplot) a nice looking no-color graph on the screen,
then I did this:
> dev.copy2eps(file="test.eps",height=4,width=3.5)
I was surprised that the output in the eps file included the colored
lines from the plot, even though the screen device was set to
2001 Mar 07
2
help with dev.copy2eps
HI!
I'm using the function dev.copy2eps to store a plot into a file.
How can I change the default name of the file and the path where the file
should be created ?
Thanks
--
Frank Gerrit Zoellner
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info",
2000 Dec 20
1
Shortcut for dev.copy2eps
I want to use a shortcut for copying figures to EPS. I defined
this function in .Rprofile:
ps <- function(file="Rplot.eps", width=7, height=7, ...) {
dev.copy2eps(file=file, width=width, height=height, ...)
}
This doesn't work:
> data(cars)
> plot(cars)
> ps()
Error in device(...) : Object "width" not found
Can anyone tell me
2002 Aug 01
0
dev.copy2eps() problem
Hello experts!
I've tried to make single plot, but with changed ticks length,
and then copy them to file by dev.copy2eps(). Here is the code:
x11 ( , 5, 5)
par (tcl = +5)
plot (0) # wow! I see the ugly plot with great
# ticks on the graph viewport! cool :)
dev.copy2eps (file = "out.eps")
Well, I had a look at "out.ps" and ..
2000 Jul 06
0
Re: [R] R 1.1.0 dev.print() & dev.copy2eps -- bug{let} (PR#596)
>>>>> "StEgl" == Stephen Eglen <stephen@cogsci.ed.ac.uk> writes:
StEgl> Hi, I just upgraded to 1.1.0 from 1.0.1 this morning on my OSF/1
StEgl> machine. I now have problems with the following code:
StEgl> %E /tmp 43% R --vanilla
StEgl> Version 1.1.0 (June 15, 2000)
StEgl> ...
>> test2 <- function ()
{
2004 Feb 20
1
unexpected postscript output with par(mfg)
Hi, a colleague of mine encountered some unexpected behavior regarding
the postscript output from R. It's difficult for me to tell whether
or not this is an R problem or a ghostview/gv/interpreter problem.
Just to note, I think it's exactly the same situation reported here:
http://finzi.psych.upenn.edu/R/Rhelp02/archive/25436.html
The following code produces a working plot (no
2007 Mar 07
1
Sweave issue: quotes in verbatim-like output print incorrectly
Hi all
I love Sweave; use it all the time.
But I recently received a new computer, and ever since I
have had a problem I've never seen before.
For example, I place the following in my Snw file:
<<>>=
sms <-
read.table("http://www.sci.usq.edu.au/staff/dunn/Datasets/applications/popular/smsspeed.dat",
header=TRUE)
attach(sms)
sms.lm <- lm( Time ~ Age*Phone,
2009 Jan 20
1
Problem with cyrillic in postscript
Hi all,
When I plot some graph with cyrillic (namely russian) titles it looks ok,
but after saving this figure as eps file I get damaged title fonts. The
command dev.copy2eps was used in the following manner:
dev.copy2eps("test.eps")
or, for example
dev.copy2eps("test.eps",family='NimbusSan')
What is wrong? I use R 2.6.0 under Windows. Any help will be appreciated.
2008 Oct 10
2
rgl-snapshot failed (err-msg: "failed")
Hello,
I tried to use rgl.snapshot and it failed.
The error message was not very verbose:
======================
>
>
> plot3d( motion[[idx+2]], motion[[idx+1]], motion[[idx]] )
> rgl.snapshot(filename="/tmp/shot_01.png", fmt="png")
[1] "failed"
>
======================
There was a graphic created by rgl, but the snapshot was
not created.
The
2002 Jan 27
1
SUMMARY: EPS->LaTeX problem
Earlier today I posted a problem importing an R graph into a LaTeX file of
seminar class: specifically, the graphic was showing up rotated 180
degrees, along with the rest of the page it was on.
In a real victory for open-source software, I got lots of responses with
three distinct approaches, each of which appears to solve the problem. Try
getting fast, correct help from Microsoft on a Sunday
2007 May 01
1
creating eps files
Hello,
For a long time, I have been creating eps files from R using the
following command:
dev.copy2eps(file="my.eps")
This has worked very well. But recently, the compositor of a journal is
complaining that
"The eps files would be useable except that they have not converted the
type to outlines"
Sorry for being vague, but I have no idea what this compositor is
talking
2006 Mar 26
1
new to the list - problems with non-solid lines in eps export
Dear all,
I am new to this list and, unfortunately, could not provide help to anyone as
yet. I hope I can do so in the future, though! Until then, I am grateful for
helpful hints from you more experienced users.
For use in an upcoming publication, I generated an eps figure from my x11
window under Debian Linux with dev.copy2eps. It contains 28 line plots with 2
lines each, one solid and one
1999 Jul 02
3
Time Sync Details
Hi, All!!
Again about time sync Win and Linux. If there is a way to sync. time of
Windoze
and my LInux server except "net time \\flash /set /yes". That way works
wonderfull
and properly, but BAD user of my net DON"T want to remember their
passwords....
Does anybody know what I should do?
......,Yours Alex "Flash"
2007 Jul 08
1
Problems with e1071 and SparseM
Hello all,
I am trying to use the "svm" method provided by e1071 (Version: 1.5-16)
together with a matrix provided by the SparseM package (Version: 0.73)
but it fails with this message:
> model <- svm(lm, lv, scale = TRUE, type = 'C-classification', kernel =
'linear')
Error in t.default(x) : argument is not a matrix
although lm was created before with
2009 Feb 18
2
Added system Info:--Segmentation Fault occured while connecting to the database
Hi All,
Wanted to add some more information ,regarding my problem.
configuration of teh OS and R:---
Linux 2.6.18-6-686
> R.Version()
$platform
[1] "i486-pc-linux-gnu"
$arch
[1] "i486"
$os
[1] "linux-gnu"
$system
[1] "i486, linux-gnu"
$status
[1] "Patched"
$major
[1] "2"
$minor
[1] "4.0"
$year
[1] "2006"
2001 Jun 13
2
Maybe OT: large fonts in eps-figures
Hi there,
if I copy an x11() graphics device to an eps-file (with dev.copy2eps())
the font in the legend is very large and doesn't fit to the legend box
in the eps-file (same with a postscript file). I'm not sure if this is a
R problem rather than a ghostscript one.
But is there a way to solve this problem in R or depends this on my
ghostscript installation?
System: R Version 1.2.3 on
2010 Oct 22
2
wait for graph to finish plotting
I want to plot and then save graphs in a loop.
The problem is that the graphs take too long to plot. Execution jumps to the save command (dev.copy2eps)
before the plotting has finished, and so the wrong graph is saved.
I works fine if I step through slowly command at a time, but I want to do it programmatically.
How can I tell R to wait for the graph to finish?
I have tried Sys.sleep, but that
2011 Jul 28
3
bug in dev.copy2pdf output?
Hi,
Am using R 2.13.1 on Linux (Fedora). Is anybody else having problems with
dev.copy2pdf xyplot output with the pch=1 (open circle) symbol? The
symbols come out as "q" in the PDF. dev.copy2eps produces the correct
results as does cairo_pdf. Other symbols produced with dev.copy2pdf seem
ok.
Thanks,
Selwyn