Displaying 20 results from an estimated 3000 matches similar to: "Summary - Re: R-Graphics"
1999 Jul 26
1
R-Graphics
I am having a strange problem with R graphics:
I am testing out R on a Sun Solaris machine. I generate a simple postscript
graph as:
postscript(file="temp.ps", paper= "letter")
plot(c(1:10), xlab= "index", ylab= "Cell Count")
title("Generic Test of R-Graphics")
dev.off()
When I view the temp.ps file with gs (version 5.50) I get the graph rotated
2000 Aug 02
1
Re: [R] problem clipping R postscript plots within latex (PR#625)
On Wed, 2 Aug 2000 p.dalgaard@biostat.ku.dk wrote:
> Martin Maechler <maechler@stat.math.ethz.ch> writes:
>
> > (from R-help)
> > PD> Stephen Eglen <stephen@cogsci.ed.ac.uk> writes:
> >
> > > > > generated by R into a latex document. Specifically, the latex package
> > > > > graphicsx allow you to specify the
2004 Jul 22
1
viewing Postscript file
Is there any R function that can display a Postscript file that is already in the working directory? For example, if 'graph.ps' is such a file, I'd like to type something like this:
> plot.postscript.file(file = 'graph.ps')
If no such function exists, I'd be interested in a way to use existing R functions to do this under UNIX or Windows, preferably without a system
2007 Aug 02
2
plot to postscript orientation
Hi
I am trying to save some plots in a postscript file. When I generate the
plots in the main window, they appear correctly - their orientation is
landscape (i.e., horizontal). However, when I open the .ps file with GSview,
the whole page appears vertically, and the plot appears horizontally, which
means that the plot is only partially visible (example here
2005 Aug 22
1
Example in pdf() help file (PR#8083)
The example in the help file for pdf() plots the characters outside
the plotting area in this for loop:
for(i in c(32:255)) {
x <- i
y <- i
points(x, y, pch=i)
}
The following loop seems to be working as intended
for(i in c(32:255)) {
x <- (i-31)%%16
y <- (i-31)%/%16
points(x, y, pch=i)
}
As an extra
2000 Aug 02
1
Re: [R] problem clipping R postscript plots within latex (PR#623)
Martin Maechler <maechler@stat.math.ethz.ch> writes:
> (from R-help)
> PD> Stephen Eglen <stephen@cogsci.ed.ac.uk> writes:
>
> > > > generated by R into a latex document. Specifically, the latex package
> > > > graphicsx allow you to specify the bounding box of the postscript
> > > > file, so that you can just show
2008 Jul 06
2
Issue with postscript figures using WinAnsi encoding
Hi there,
I've hit a bump in writing postscript files with special characters in
the WinAnsi encoding on a windows machine.
Here's some sample code:
###########################################
postscript(file = "test.eps", encoding="WinAnsi.enc",
width = 3, height = 5.5, onefile = TRUE, horizontal=FALSE, family =
"sans",
title =
2000 Aug 19
1
Exporting graphics to PS or EPS
On Fri, 18 Aug 2000 07:49:44 +0100, Brian D Ripley <ripley at stats.ox.ac.uk> wrote:
>On Thu, 17 Aug 2000, Paul E Johnson wrote:
>> My experience is that, if I output a gif that does not
>> fit on the page, then I've shot myself in the foot because resizing the
>> graph makes all the text in it too small. I don't think postscript is
>> immune to this
1997 Nov 05
3
R-beta: Latex and R
Hello R users,
This question might be already discussed before, I apologize
if it is the case.
Simple... how can I do to include a figure in a latex document.
As I have already done in Splus, I tried this:
\begin{figure}
\special{psfile=gauss.ps .......}
\end{figure}
but it didn't work. Any help?
Thank you in advance.
PS: I let down the Mac and the MS Window platforms and I am back
to my
2003 Oct 08
4
Unpredictable EPS->PDF rotation (PR#4460)
Dear r-bugs,
When I create EPS files, they sometimes appear rotated in my LaTeX PDF
document and sometimes they don't. Two examples:
## x1.eps is not rotated in LaTeX
x <- seq(-1, 1, length=100)
postscript("c:/x1.eps", height=3, width=4,
horizontal=FALSE, onefile=FALSE, paper="special")
plot(x, dnorm(x), type="l")
dev.off()
## x2.eps is not
2005 Jul 22
3
problems with submitting an eps-file created in R
Dear all
I've got some problems submitting a manuscript, because I can't manage
creating the favourable eps-file of a graph created in R. The journal's
graphic requirements are as followed:
format: eps
width: max. 6 inches
resolution: min. 1000 dpi
supported fonts: Arial, Courier, Helvetica, Symbol, Times, Charcoal,
Chicago, Geneva, Georgia, Monaco, Zapf, New York
Itried to ways
2009 May 08
2
postscript()-resolution
Dear users,
another question concerning graphics for publications. My favourite journal
wants .eps-graphics,
and from older postings i adapted the following code:
postscript(file="Figure1.eps", title="Figure 1", width=11.5, height=8,
paper="a4",onefile=FALSE)
However, when checking the properties of this file, it is a .ps and not a
.eps file. So, i konverted to
2001 Sep 13
3
OT: ps -> eps -> MS Word
I've created a bunch of postscript trees (post.rpart), which I subsequently
edit in Adobe Acrobat 4.05 (I need additional labelling that isn't easy to
add with R). After editing the labels and annotations using Acrobat, I
then export the file to Adobe's .eps format so I can insert the picture
into a Microsoft Word 2000 document. The .pdf file distilled from the .ps
file is
2001 Jan 15
2
WMF on Unix
A few of you have helpfully sent me references to WMF formats.
There is also some code to _read_ it at
http://www.csn.ul.ie/~caolan/docs/libwmf.html
However, the issue is to _write_ WMF on R under Unix. I am told (by
someone who has tried) that the problem is the if you write a WMF
file according to the published specs (which were once issued
by Microsoft) you find that e.g. Word does not read
2003 Dec 21
3
Sweave/LaTeX Problem with EPS PDF
Dear List:
I am unsure if my problem is with Sweave or LaTeX. Anyhow, I am using the MikTeX distribution and TexnicCenter.
I can easily create Sweave files and all goes well until I try to incorporate graphics. I use the same code as found in the examples found in the users manual.
In R, the graphics I want are created as Sweave is creating the .tex file. When I examine the .tex file
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
2005 Mar 02
3
orientation of eps files
hello,
i have a problem with the orientation of eps files produced with the postscript() command. i have generated some eps files with R using:
postscript(file = filename, horizontal = FALSE, paper = "special", onefile = F
ALSE, height = height, width = width, pointsize = pointsize)
now, when i include these eps files into a standard paper document (ie. a4 paper, portrait orientation)
2004 Sep 29
2
How to print landscape from script in Windows: dev.print(win.print, printer="local printer name", ...) does not accept horizontal=TRUE
This is a windows-specific question.
After generating a plot, I can print from scripts or the command line
with
> dev.print(win.print,printer="local windows printer name")
I would like to print in landscape mode. From the menus, I can
accomplish this by changing the properties of the printer before
clicking "print".
However, I tried adding
2007 Jan 03
6
R grahics: Save as hangs computer
Hello list,
I have encountered a problem trying to save graphs using the R-graphics
menu: File|Save as. The menu suggests that files may be saved as either
Metafile, Postscript, pdf, png, bmp, jpeg.
When I specify any of those file formats a menu comes up requesting a file
name. After providing a name R invariably hangs and has to be restarted.
I am able to save files under the various
2009 Feb 06
2
undesired grid in ps/eps outputs generated by filled.contour or image
Hi!
Whenever I save a graphic in ps/eps format generated by filled.contour or
image, an undesired grid is added to it (not visible on the X11 screen). For
example:
postscript("volcano.eps")
filled.contour(volcano,col=gray(seq(0,1,,50)),levels=seq(min(volcano),max(volcano),,50))
dev.off()
Any ideia how to eliminate this grid?
Thanks,
Rachel
[[alternative HTML version deleted]]