search for: copy2eps

Displaying 20 results from an estimated 78 matches for "copy2eps".

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 ge...
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/~hor...
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 dir...
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 "gray" and on screen I did not see colors. I put some of the eps files up here, so you can see what I mean:...
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 what's going on? I'm using R version 1.1.0 on Linux. -- Peter Kleiweg http://...
2008 Jan 29
1
Documentation of the dev.copy2eps function. (PR#10656)
Full_Name: clement raievsky Version: R version 2.4.0 Patched (2006-11-25 r39997) OS: debian (stable/testing) Submission from: (NULL) (132.210.56.80) The documentation of the dev.copy2eps() function should mention the "file" option which set the output file name Thanks for the wonderfull software. Cl?ment.
2004 Feb 20
1
unexpected postscript output with par(mfg)
....html The following code produces a working plot (no problems, as far as I can see): par(mfrow = c(2,2)) plot.new() plot(1:10, 1:10, xlab = "", ylab = "") plot(1:10, 1:10, xlab = "", ylab = "") plot(1:10, 1:10, xlab = "", ylab = "") dev.copy2eps(file = "plot1.eps") However, the following code, which appears on the screen to be identical to the above plot, generates an EPS file which ghostview/gv displays as blank. par(mfrow = c(2,2), mfg = c(1,2)) plot(1:10, 1:10, xlab = "", ylab = "") plot(1:10, 1:10, xla...
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 .. wondered that ticks look like...
2000 Jul 06
0
Re: [R] R 1.1.0 dev.print() & dev.copy2eps -- bug{let} (PR#596)
...lot to the printer by default depending on getOption("printer") and other things, and to allow other uses. Hence, it works on the call and uses eval() ... It seems is must become even smarter (or less tricky and more robust)... BTW, the same applies to the new dev.copy2eps() function which falls in the same pit in its trickyness of using eval(...) : > tst3 <- function(outfile) { dev.copy2eps(file = outfile) } > tst3("/tmp/my2.eps") Error in device(...) : Object "outfile" not found Martin -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-....
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. Regards, Alexander Nakhabov [[alternative HTML version deleted]]
2009 Mar 05
2
identify() and postscript output
...a logistic regression model, and using car:::influencePlot. When I run the latter with output to the screen, it calls identify() that lets me label observations with large CookD. However, if I use postscript() to get .eps output, identify() seems not to be called at all. If instead, I use dev.copy2eps() after getting output to the screen, the point labels do not appear in the resulting .eps graph. Why? Is there a workaround? library(vcd) data(Arthritis) # define Better Arthritis$Better <- Arthritis$Improved > 'None' arth.mod1 <- glm(Better ~ Age + Sex + Treatment , data=Arth...
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:...
2002 Jan 27
1
SUMMARY: EPS->LaTeX problem
...sh. (I actually ended up using: \includegraphics[scale=.37,angle=270,keepaspectratio=T]{crime.eps} ), which works fine 2.) From numerous helpers on the R-Help list: use the horizontal=FALSE argument to the postscript() command in R: postscript(..., horzontal = FALSE) 3.) You could try dev.copy2eps: `dev.copy2eps' is similar to `dev.print' but produces an EPSF output file, in portrait orientation (`horizontal = FALSE') I think you can just use this command, and follow it with dev.off(). Then I recall you have to rename the resulting output to crime.eps. ------------...
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 about...
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 doesn't work. -- aleblanc
2006 Mar 26
1
new to the list - problems with non-solid lines in eps export
...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 dotted (they show event-related brain potentials in two different conditions, if this is of interest for someone). The plots are arranged in a window with width=5 inch and height = 6 inch, so single plots are quite small. Now the...
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
2004 Jan 15
2
Legend text -- discrepancy between X11 and postscript
...plot(XY, xlim=xlim, ylim=ylim, type="l", lty=1, col=2, axes=FALSE) axis(1); axis(2) ## Legend and plot share the bottom-right corner. legend(xlim[2], ylim[1], "A set of random numbers", lty=1, col=2, xjust=1, yjust=0) ## On the screen: OK. Now produce EPS file. dev.copy2eps(file="test.eps", paper="letter") ######################### End example ################## -- itayf at fhcrc.org
2003 May 27
3
0 margin for creating eps files
...r the files to be cropped so that there is no margin around the actual plot, because I have no way of editing the files after they have been created. I have tried using par(mai=c(.75,.75,0,0)) in order to reduce the margin; it works fine when I create a plot on the screen, however when I use dev.copy2eps(file="FILENAME.eps") to save to the eps file, the margin has returned. Could someone please tell what I am doing wrong, should I be using different parameter to set the margins of the eps files. Any help would be greatly appreciated. Many Thanks Rishabh ______________________________...
2004 Aug 16
2
(no subject)
...ever with R) and some of my students have windows at home and they want to be able to graphs tjhey make in our college ( that only has Linux) and oopen with windows, I think the best wya would be saving it as a JPEG file but I don't know how to do it ! I only know how to do it with EPS dev.copy2eps(file="bla.eps") how can I save it as JPEG ? or BMP any other format that is OK for windows ? thank you very much Paolo