Displaying 20 results from an estimated 4000 matches similar to: "Problem with cyrillic in postscript"
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
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
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
2004 Jan 15
2
Legend text -- discrepancy between X11 and postscript
Hi,
When I place a legend on a plot it looks exactly as I intended
on the screen. However, almost always, when I export this to
postscript file, the legend's text protrudes through the legend's
frame (the latter being placed correctly).
See the appended example code. I can send the EPS file as well
for those that are interested (<4 kb; <200 lines).
I found nothing in the FAQS,
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
2009 Dec 20
1
utf8 postscript cyrillic
Dear R users,
I am running R version 2.10.0 (2009-10-26). I need to prepare an eps
graphic with a legend with cyrillic words. I tried setting the encoding
parameter of the postscript command, but in vain, nothing seems to work. I
tried with CP1251, KOI8-R, UTF-8 and Cyrillic (UTF-8 turned out to not be
available under /usr/lib/R/library/grDevices/enc). All I get is ????????
in the final
2009 May 12
1
times family unavailable in postscript device (Ubuntu Linux)
I'm running Ubuntu 9.04. I could use some advice about fonts in
postscript devices.
> sessionInfo()
R version 2.9.0 (2009-04-17)
i486-pc-linux-gnu
locale:
LC_CTYPE=en_US.UTF-8;LC_NUMERIC=C;LC_TIME=en_US.UTF-8;LC_COLLATE=en_US.UTF-8;LC_MONETARY=C;LC_MESSAGES=en_US.UTF-8;LC_PAPER=en_US.UTF-8;LC_NAME=C;LC_ADDRESS=C;LC_TELEPHONE=C;LC_MEASUREMENT=en_US.UTF-8;LC_IDENTIFICATION=C
attached base
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')
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 directly, just to see how it will
look on paper. (Of course, this will
2011 Aug 03
1
one way to solve bad looking density plots in postscript
Hi,
When R generates density plots and these are exported to postscript(
a=matrix(1:100,10,10);image(a,col=rainbow(100);dev.copy2eps(file="image.eps")
)
The result often looks bad when rendered on screen. The help page states that this is because programs use anti-aliasing. That seems to be true - turning off anti-aliasing for gs (-dGraphicsAlphaBits=1) of in OSX's preview makes
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
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
2006 Mar 26
1
new to the list - problems with non-solid lines in eps export
Dear all,
I am new to this 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
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
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 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 Jun 08
2
ridiculous behaviour printing to eps: labels all messed up!
OK, this is really weird!
here's an example code:
t1<-c(1,2,3,4)
t2<-c(4,2,4,2)
plot(t1~t2, xlab="exp1", ylab="exp2")
dev.copy2eps(file="test.eps")
that all seems fine...
until you look at the eps file created, where for some weird reason, if you
scroll down to the end, the code reads:
/Font1 findfont 12 s
0 setgray
214.02 18.72 (e) 0 ta
-0.360 (xp1) tb
2004 Aug 16
2
(no subject)
Hi there I teach a statistics class with R ( the first time 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
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",
2007 Mar 27
1
"Groups" in XYPLOT
I'm not sure I'm barking up the right tree here, but would I need to make
use of groups to plot two separate datasets within ONE panel in xyplot? The
desired end result is a single xy plot of two separate (but similar in
values and ranges).
Full code follows, xyplot code at bottom
#########Determine Frequencies
##########coastal_slope
#needs the maptools package to read ESRI grid