Displaying 20 results from an estimated 700 matches similar to: "a fix for rotated PDF graphs"
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
2002 Feb 05
1
eps Portrait to pdf now rotated since gs6.5 --- why?
Hi list,
this question has probably been answered but I haven't found
a solution in the archives:
The older ghostscript gs5.50 (debian,stable) deals well with R-plots:
epstopdf yields pdfs with the same orientation as the eps-file.
But, since gs6.5 (or earlier) the dimension of the plot is interpreted: if
x-width exceeds y-width even a Portrait-eps is rotated to Landscape.
A possible
2003 Apr 16
2
barplot2
Hello,
I get a nice looking barplot using the barplot2 function in the gregmisc
package:
body2 <- barplot2(hh3, beside = TRUE,
col = c("mistyrose", "lightcyan"),
....
cex.names = 1.0, plot.ci = TRUE, ci.l = cil, ci.u = ciu,
plot.grid = TRUE)
box()
However, obviously I lose the collors when converting from ps to a pdf
(outside of R)
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)
2007 Mar 09
1
pdf device bounding box?
dear R wizards: I have a very simple suggestion/question. Would it
be easy to change the pdf device so that it adds a BoundingBox around
its output? (Under R 2.4.1, this seems not to be the case, because
epstopdf under linux complains. Fortunately, it still works
correctly.)
This is not a big deal, but it would be nice if R did so, if only to
help some pdf programs that are less adept at
2007 Nov 12
1
how to run a linux syntax within an R script?
Is it possible to run a linux syntax (i.e. like i was at a linux
terminal) from an R code?
Just one example:
Let say that I have an R code with
hist(rnorm(100))
dev.copy2eps(file="Dnormal.eps")
and then within the same R code, i want to convert the file
'Dnormal.eps' to 'Dnormal.pdf'. This can be achieved using at the linux
terminal
%epstopdf Dnormal.eps
but i do
2009 Oct 22
3
PDF too large, PNG bad quality
I wish to save a scatter plot comprising approx. 2 million points
in order to include it in a LaTeX document.
Using 'pdf(...)' produces a file of size about 20 MB, which is
useless.
Using 'cairo_pdf(...)' produces a smaller file, around 3 MB. This
is still too large. Not only that the document will be too large,
but also PDF viewers choke on this. Moreover, Cairo has problems
2003 May 21
2
Graphics device history recording problem (Previous and Next utilities)
I use 1.7.0 version under Windows XP.
Problem:
When graphics device history recording function turned
on, suppose I source a file containing lines:
plot(graph1)
plot(graph2)
I see the graph2 in the graphic device, assuming
graph2 is the last plot in the file. Now using
"Previous" under history menu, I get graph1 as
expected. But after that, using "Next" does not show
graph2.
2010 Nov 19
1
How to print "graph1.png" "graph2.png" "graph3.png" ... ?
Dear All,
I want to print out "graph1.png" "graph2.png" "graph3.png" ... How
can I print it out?
Thank you,
2008 Apr 16
1
Converting from encapsulated postscript to encapsulated pdf
I have several old encapsulated postscript graphics generated by R that
I want to include in a LaTeX Beamer presentation so I want them in pdf.
Under Ubuntu linux typing
convert z.eps z.pdf (to use ImageMagick)
results in a nice looking graphic but the bounding box is lost. Doing
convert z.eps z.epdf
results in a fuzzy image with a good bounding box.
Does anyone have a nice solution?
2008 Jan 30
2
Concatenate xyplots
Dear R-community,
I created 5 different xyplots and graphed all of them with the print command on one page (e.g.
print(graph1, split=c(1,1,1,5), more = T)
... print(graph5, split=c(1,5,1,5), more =T)
Using the above commands separates each graph by a white space. However, since the graphs do share the same x-axis, I was wondering if there is a way to concatenate graph1 through 5 so
2013 Jun 19
2
knitr without R studio
Hello folks,
I`m using knitr on R studio, which make it easy to use, but a coworker of
mine would like to run it on "simple" R. So I was wondering if you know what
is the equivalent of the button "knit HTML" in RStudio in R. I tried
knit2HTML(
<html>
<head>
<title></title>
</head>
<body style="background-color:white">
2007 Oct 08
3
embedFonts rotates figure
Dear All,
Consider the following code:
pdf(file="figure.pdf",family="URWPalladio")
curve(dlnorm(x,0,1.5),0,10,xlim=c(0,10),ylim=c(0,0.85),axes=F,xlab="",ylab="f")
segments(exp(-1.5^2),0,exp(-1.5^2),dlnorm(exp(-1.5^2),0,1.5),lty="dashed")
segments(1,0,1,dlnorm(1,0,1.5),lty="dashed")
2011 Jul 12
4
qplot and for loops
I have 4 columns and 56 rows of made up data that I want to plot as a series
of bar graphs. The idea is to create one bar graph for each of the 4 columns
using a for loop. I tried the following command in RStudio and when I type x
in the console I get just the 4th graph instead of all four graphs. I did
not define what x is before hand. I was not sure what it would be. Any
suggestions on how you
2009 Aug 25
1
Clogit or LRM?
Hello
I believe that I'm getting very close in my modeling application.
I've come across a challenge that I am unable to solve and would really
appreciate the group's opinion.
I've been using the val.prob function from the Design library (Thanks
Frank!!) to both evaluate and visualize my model.
From the scores and graph, it appears as my model is very accurate in
2005 Jan 08
2
start a linux command using a win32 apps ?
Hello,
In fact, I raver need to start a bash script using a win32 apps.
Any idea ?
2005 Jun 08
2
Problems with Lotus Notes R5.0.12 under Wine 20050524
Hello all,
I have installed R5.0.12 on Red Hat Fedora Core 3, using Wine 20050524. I'm
getting a lot of FIXME messages but everything seems to be working fine.
Except for the following things:
1) Attachments are working fine, except for launching the attachment to
open directly in OpenOffice.org or Adobe Reader ... Most likely that this
is a WINE issue rather than a Lotus Notes/Under Wine
2005 Jun 08
1
Linux apps from inside Wine (was:Re: Problems with Lotus Notes R5.0.12 under Wine 20050524)
Hi Shadi,
I'm also using notes 5.0.12 and I've posted at May,05-2005 a
message just talking about how to start Linux apps from a Windows app
over/under Wine. The only problem is that I'm not using wine-20050524 ...
8-(. Instead I'm using 20040813.
Follows the message. Feel free to ask me more questions and if you
want I can send to you another types of scripts.
2005 Jun 09
1
Linux apps from inside Wine (was:Re: Problems with Lotus Notes R5.0.12 under Wine 20050524)
Hi Andreas,
I saw someone (Mike or Joachim, I think) at the list saying you
have to shutdown the wineserver. It will overwrite the system.reg as soon
it goes down. So before you make the changes be sure there is none wine*
process running.
Hope this helps. If not, write us again and we'll help you
(sometime ago I run into the same problem but I can't remember the
2009 Jan 13
5
acroread = resource hog
Any have trouble with acroread taking up massive cpu and memory?
I exited my Firefox browser and the lil bastard was still hogging up
my resources.
Took up 69% of 4GB, and wouldn't let go, until a kill -9 showed'em,
have to do it every time I open a pdf in firefox.
Any use Xpdf or something else?