Displaying 20 results from an estimated 8000 matches similar to: "postscript (eps) / latex / par(mfg=...) / problem!"
2005 Apr 27
1
postscript (eps) / latex / par(mfg=...) / problem! (PR#7820)
Full_Name: Dan Freak Bolser
Version: Version 2.0.0 (2004-10-04)
OS: Linux 2.4.20-31.9 (RedHat 9)
Submission from: (NULL) (62.253.128.15)
The same problem I am having has been reported here
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
2006 Jan 20
1
par(mfg=) and postscript and pdf
This is related to the incorrect bug report PR#7820. Marc Schwartz
pointed out in
https://stat.ethz.ch/pipermail/r-devel/2005-April/033016.html
an example of a real problem. If you call par(mfg=) after par(mfrow) (or
mfcol) and before you have done any plotting, NewPage is not called on the
device at the start of the first page. That causes the DSC comments to be
incorrect on postscript()
2000 Apr 28
1
graphics: par(mfg=c(i,j,r,c)) (PR#529)
Full_Name: Craig A. McKinstry
Version: 1.0.0
OS: WinNT4.0 and Win98
Submission from: (NULL) (192.101.100.130)
When creating a multi-panel graphic, the command par(mfg=c(i,j,r,c)) is
supposed
to allow the user free movement between graphics panels to develop each panel
separately. This works for the first invocation of par(mfg=c()) and for the
first panel panel specified, but not for subsequent
2007 Mar 17
1
problem with mfg argument of par
I'm having a problem with the mfg option of par. Am I making an error in my
usage? Here is a simple example that I thought would plot to the 4 corners
of a 2x2 plot but doesn't plot to the lower right and plots twice on the
upper left.
par(mfrow = c(2, 2))
pos <- as.matrix(expand.grid(1:2, 1:2))
for (ix in 4:1) {
par(mfg = pos[ix, ])
plot(1:5)
}
Thank you in advance.
R version
2006 May 23
2
multiple plots with par mfg
Hi,
I'm trying to add points to 2 plots on the fly using par(mfg=vector)
so switch between them. However, the appropriate scales aren't
switched when changing from one plot to another, e.g.
par(mfcol=c(2,1))
plot(1,1, col="blue") # blue plot
plot(1.2,1.2, col="red") # red plot
points(1.1,1.1) # appears to bottom left of red point
par(mfg=c(1,1)) #
2009 Apr 03
1
Error in par(split.screens[[n]]) : parameter "i" in "mfg" is out of range
I'm working on my 'oce' package, trying split.screen() instead of par(mfrow).
My code is too long to post, and I hope it's ok that I ask this question
without doing so.
My code seems to work fine when I source() it, but when I do "R CMD check"
on my package, I get the error that I've put as the subject line, when it
runs examples.
If I comment out the plot()
2003 Sep 26
1
empty postscript output of figures
Hi,
I have a puzzeling problem. I want to export graphics from R to TeX via
postscript(). This works fine for some graphs, but for others, the eps
remain empty when viewed with GSView. When such an empty eps is imported
to TeX, the figure appears upside down and very small, irrespective of
TeX width and height commands. If I transform the eps to pdf, the
graphic shows up, but turned aqround 90°.
2005 Sep 20
2
why this postscript didn't work?
Hi, List,
I used the following codes to generate ps plots but foo.ps contains
nothing. Would someone please point out what is wrong with my codes?
Thanks a million!
postscript('foo.ps')
par(mfrow=c(2,1))
par(mfg=c(1,1))
hist(rnorm(100),col='blue')
par(mfrow=c(2,2))
par(mfg=c(2,1))
hist(rnorm(50),col='blue')
par(mfg=c(2,2))
hist(rnorm(60),col='blue')
dev.off()
2009 Apr 30
0
plot scaling bug when using par(mfg)
Dear list,
I've noticed a width/height scaling bug in multi-panel plots when you
change the active plot using par mfg
The underlying par setting that maps the full plot width (or height)
to the numerical axis labels does not get updated when you change
plots with par(mfg=...). Thus plotting a point at c(10,10) in the
first plot will only be in the correct place IF the most recently
2003 Jul 11
3
postscript/eps label clipping
The following code produces an eps file with the tops of each of the ylabs
clipped off.
par(mfrow=c(2,2))
plot(runif(10),
ylab="Function(Lengthy Expression)",xlab="Prediction")
plot(runif(10),
ylab=expression(Delta * Beta^2),xlab="Prediction")
plot(runif(10),
ylab="Function(Lengthy Expression)",xlab="Prediction")
1998 Mar 26
1
R-beta: mfg weirdness + future of graphics pars
Ross Ihaka writes:
>
> I just checked my S manual and it appears that layout
> parameters like can "mfg" only be given in par().
Yes. pty is another, for example.
> I think that in fact "mfg" is only meant to be queried.
No. One use for setting mfg is to produce a page of plots in
portrait orientation with, say, two small plots on the top half
of the page
2010 Sep 08
6
'par mfrow' and not filling horizontally
Greetings, Folks.
I'd appreciate being shown the way out of this one!
I've been round the documentation in ever-drecreasing
circles, and along other paths, without stumbling on
the answer.
The background to the question can be exemplified by
the example (no graphics window open to start with):
set.seed(54321)
X0 <- rnorm(50) ; Y0 <- rnorm(50)
2006 Oct 10
3
eps embedded fonts again
Dear friends,
I am sorry, I again rise that boring question about font embedding in
EPS figure.
I found some discussions on this topic but there were no strait solution.
The publisher (AIP) demands submission of separate EPS file
for each figure with all fonts embedded in it (even the standard
14 Adobe fonts).
As I understand the R does not do this embedding. It inserts only
comments what font
1999 Sep 08
1
PostScript output error
Hello,
I'm currently using R-0.65.0 with --gnome option in
configure on IRIX64 and Debian GNU/Linux.
I found a problem in generated postscript file which
has following sequence:
x <- 1:30
postscript("output.ps")
par(mfg=c(1,1,2,2))
plot(x,sin(x))
plot(x,sin(x))
plot(x,sin(x))
plot(x,sin(x))
dev.off()
The generated postscript file "output.ps" can't
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
2010 Sep 23
1
eps file
Dear All,
I need to create eps file which is the required figure format of the journal that I want to submit a paper. I am able to create files in pdf or wmf format but not in eps format. Is there a way to convert pdf or wmf to eps? or alternatively, how can I create an eps file in R?
Any help is deeply appreciated.
Kind Regards
Seyit Ali
2007 Jun 25
1
eps in odfWeave
Dear Weavers,
Does someone have an example of using eps or any other vector graphics with
odfWeave? It tried the example below (and commented variants) with
simple.odt in the examples directory, and got an error.
Dieter
#---
library(odfWeave)
plotInfo <- getImageDefs()
plotInfo$type = "eps"
#plotInfo$device = "postscript"
setImageDefs(plotInfo)
2002 Aug 10
1
poscript("fileName.eps") possible?
I have been checking the information provided with postscript().
Acording to the manual the argument of postscript() is the name of a
file with extension ps .
The postscript produced by R is EPS (Encapsulated PostScript)
compatible, so I tried to pass to postscript() the name of a file
with extension eps. Then I included this file in
a Latex document and everything worked fine.
Does what I
2011 May 06
1
Sweave: no eps fig
Hi everyone,
I'm using R, Latex and Sweave for some years now, but today it confuses me alot:
Running Sweave produces only figures in .pdf format, no .eps figures.
The header looks like this:
<<echo=TRUE, fig=TRUE, label=Fig1>>=
There was no error message.
Does anybody have an idea?
Any changes in the Sweave-package?
Or a missing driver or something like that?
I recently