Displaying 20 results from an estimated 4000 matches similar to: "dev.copy2eps: position of figure on page"
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 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
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",
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.
2001 Jul 29
2
Trellis graphics and clipping
Hi again folks,
I seem to have got the trellis (lattice + grid) business
working basically OK, in that I can get my 5x5 array of
histograms laid out as they should be.
However, there is a behaviour I can't see my way round.
Even when displayed in the R Graphics Window, there is
some clipping (the extreme top, bottom, left and right
edges are not there, so that labels, and parts of numerical
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
2000 Aug 17
1
Things I don't understand about the graphics interface
Using R-1.1.1 on RedHatLinux 6.2.
I've made some progress, succeeded in outputting bitmap, jpeg, and png
files. Yipee.
I did them with this command:
> dev2bitmap("whatever.bmp",res=300)
> dev.print(png, file="myplot.png", width=480, height=480)
> dev.print(jpeg, file="myplot.jpg", width=480, height=480)
> dev.print(pictex,
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 ()
{
2020 Jul 10
2
force CUPS print server to fit-to-page
On Thu, Jul 9, 2020 at 3:18 PM Frank Cox wrote:
> On Thu, 9 Jul 2020 13:00:19 -0400
> Josh wrote:
>
> > Does anyone have any ideas?
>
> Did you set /etc/papersize?
>
Initially I did not, because based on
man paperconf
the default paper size is letter.
Still, after running
sudo paperconfig -p letter
which created /etc/papersize and restarting cups there are no
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
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
2006 Apr 20
1
R_PAPERSIZE and LC_PAPER
R uses the environment variable R_PAPERSIZE to set its papersize, e.g. for
postscript.
It seems the modern way is to via LC_PAPER, e.g.
http://mail.nl.linux.org/linux-utf8/2002-05/msg00010.html
and Googling will show that people expect this to work.
However, that is not set on my FC3 system, and it would affect people who
use en_US as their locale in, say, Austria.
Should we be making use
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.
2002 Apr 15
2
W2k devmode
Our server is a SuSE Linux 7.2 with CVS samba 2.2 branche. Version number is
2.2.pre-4. We updated today.
We have a problem with the default devmode in Windows 2000 (SP2) clients. We have
uploaded the printerdrivers to the share print$. The Samba printeradministrator is able
to change the printer capabilities as memory, trays, papersize. etc. Changes are global:
when a user logs in, he sees
2003 May 27
3
0 margin for creating eps files
Dear all,
I am trying to create eps files of R plots (in Linux) so that I can import them into Word
(obviously in MS Windows). What I would like is for 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
2009 Mar 14
1
Problem with figure size when embedding fonts
Dear Colleagues:
I need to make a graphic that uses the Nimbus rather than Helvetica font
family so that the font can be embedded in the encapsulated postscript
file. This is to satisfy a requirement from a journal for electronic
submission of figures. I do the following:
postscript('lowess.eps', onefile=FALSE, pointsize=18, horizontal=FALSE,
family='NimbusSan')
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
2001 Dec 07
2
Latex Question
Here is how to print graphs for inclusion in Latex.
First make sure you've got the graph you want. Do this by
repeating and editing the command to make the graph, in the usual
way. (Yes, I know Miktex is good, but it isn't as good as Emacs
with ESS, although I admit that I could never configure Emacs
properly on Windows - which was reason #23.5 for giving up
Windows.)
Second, say