Displaying 20 results from an estimated 10000 matches similar to: "Postscript files graphic quality and other problems"
2003 Jan 08
2
Problem with fontsize of pie-chart in postscript file
Hi all,
I've a problem with the size of the labels of my pie-charts when I try to
write them to a postscript file. I need to increase the default size, so I
change cex (see below). On screen this works fine, but cex doesn't seem to
affect the postscript-file. Any suggestions?
Thanks a lot,
Daniel
Copy/Past-example (will try to write to c:/temp!):
labels <- c("I",
2009 Aug 18
2
ENC: postscript, options
I'm not shure but I guess that you miss a " and putted it in the wrong
place!
Try this: postscript("/pathto/filename.eps",horizontal=FALSE,onefile=FALSE)
Hope It helps.
-----Mensagem original-----
De: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] Em
nome de e-letter
Enviada em: segunda-feira, 17 de agosto de 2009 10:11
Para: r-help at r-project.org
2009 May 21
1
postscript problems (landscape orientation)
I use the following function to export some figures to .eps:
p.eps <- function(p, fname, title = NULL, width, height)
{
postscript(file=fname, onefile=FALSE, paper="special",
width=width, height=height, horizontal=FALSE)
print(p + opts(title = title))
dev.off()
}
Whenever I have a page consisting of *only* figures exported in this way,
Acrobat Reader shows them in
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
2004 Jun 02
1
Using postscript() in a script that is source()ed
I have a script that draws 9 graphics which I would like to run by
source()ing the file. In the script I make objects that contain each
of the graphics (all lattice objects or functions that contain
lattice functions). Then at the end of the script, I have a section
which prints them to separate eps files like this:
postscript(file = "dryoutcover.eps", height = 5, width = 7,
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
2004 Jun 02
1
use of split.screen() with postscript device
Greetings,
I am new to R and quite confused by the apparent inconsistency in it's
behavior. My latest difficulty lies in producing eps output for use with
latex. In particular, I was successful in obtaining a single figure by using:
postscript("ripple1.eps",onefile=FALSE)
plot(nu_set[[1]],ip[[1]])
lines(nu_set[[1]],predict(fitIp[[1]]))
dev.off()
...but then I tried to place two
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°.
2002 Aug 30
2
postscript() problem
Hi R-users,
I am using "postscript("xx.eps", horizontal=FALSE, onefile=FALSE,
height=6, width=10, pointsize=10)" and "barplot(xx.dat)" in R to produce
EPS graphics for LATeX document. When checking the graphics with "gv" I
see that it was not produced with full details. The main graphic is
there, but axes labels and titles are missing. While checking the
2004 Mar 11
1
Difficulties in interaction between R and latex (prosper)
Hello, folks! I'm trying to use R as a graphics program, to make some
pretty graphs that will go into prosper slideshows.
I wrote this fragment, from the R manual, into a file demo.R:
x=seq(-3,3,0.1)
postscript("cm_test.eps", width = 4.0, height = 3.0,
horizontal = FALSE, onefile = FALSE, paper = "special",
family =
2011 Jun 01
1
weird error from MASS::eqcsplot with postscript driver
[Env: R 2.12.2, Win XP]
I'm creating figures using MASS::eqcsplot to provide equal scaling of
the axes. My figures work OK
when I plot to the screen, but when I try to do the same plot as a
postscript file, I get an
unexplicable error,
> figframe()
Error in if (yuin > xuin * ratio) yuin <- xuin * ratio else xuin <-
yuin/ratio :
missing value where TRUE/FALSE needed
>
2011 Aug 16
2
postscript( does not save the plot
Dear all,
I am using the following code to write the plot to an eps format
postscript(file="test.eps",horizontal=FALSE)
2003 Sep 10
6
insert eps into microsft word
it seems that word can not read encapsupalted postscripts generated by R
I used this command
postscript("output.eps",horizontal=F,onefile=TRUE)
since onefile=TRUE produces an encapsualted postscript
actually what I'm trying to do is to insert the postsript file into a
word document
since other formats like jpeg and bmp do not reproduce the same quality
like postscript
formats
any
2003 Aug 24
1
Encapsulated postscript and the family argument
> version
_
platform i686-pc-linux-gnu
arch i686
os linux-gnu
system i686, linux-gnu
status
major 1
minor 7.1
year 2003
month 06
day 16
language R
>From my investigations, it would appear that if I wish to
2005 Apr 26
2
postscript (eps) / latex / par(mfg=...) / problem!
The same problem I am having has been reported here
http://tolstoy.newcastle.edu.au/R/devel/04a/0344.html
Namely that using par(mfg=...) with a postscript (eps) for inclusion with
latex makes the figure appear upside down and back to front (flipped)!
Converting the dvi to ps makes matters worse (the eps seems to be broken),
however, it appears fine with gv.
Here is (basically) the code I am
2005 Apr 26
2
postscript (eps) / latex / par(mfg=...) / problem!
The same problem I am having has been reported here
http://tolstoy.newcastle.edu.au/R/devel/04a/0344.html
Namely that using par(mfg=...) with a postscript (eps) for inclusion with
latex makes the figure appear upside down and back to front (flipped)!
Converting the dvi to ps makes matters worse (the eps seems to be broken),
however, it appears fine with gv.
Here is (basically) the code I am
2010 Feb 12
1
Problems with savePlot() and postscript under Snow Leopard
Dear all,
I tried:
> iris
> species.n <- as.numeric(Species)
> plot(iris, col = species.n)
> savePlot(filename="IrisTestPlot", type="png")
and got the error message:
Fehler in savePlot(filename = "IrisTestPlot", type = "png") :
kann nur aus 'X11(type="*cairo")' Devices kopieren
(sorry, I have a german version of R).
I
2005 Oct 28
1
multiple graphs in the same ps file ?
Dear all,
I would like to be able to store multiple graphs in one ps or pdf file, but
I cannot achieve this only if I don't shut the "postscript" device between
the graphs.
here is what I managed to do :
> postscript(file="test_graph.eps", onefile=TRUE)
> plot(1:10)
> plot(1:20)
>
> dev.off()
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 =
2009 Mar 05
2
identify() and postscript output
In the following, I'm fitting 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