Displaying 20 results from an estimated 30000 matches similar to: "PDF file not created correctly"
2002 Jul 05
1
Exception created in RGUI.exe (PR#1748)
I was trying to print out some text on an empty PDF graph so that I would
have the statistical data in the same file as the graphs. I was having
problems in getting the output in a PDF file, but could get it in a
postscript and BMP file. I put together the script below to see what
'fonts' were available on PDF, is it caused an exception.
I was getting an exception in the pdf call
2007 Jun 19
1
: create a PDF file (text (print list) and grafics)
Dear helpers,
I need help to create a PDF file like the example
-----------------------------------
| Title |
-----------------------------------
| |
| Text (print a list) |
| |
-----------------------------------
| | |
| | |
| image | image |
| | |
| | |
-----------------------------------
2010 Mar 27
1
string width calculation
Colleagues,
I am trying to create a PDF document in which I use margin text with two different fonts. The resulting text might be:
XXXXXyZZZ
where X and Z are one font and Y is the other.
My plan was to do this in the following manner:
mtext("XXXXX ZZZ", cex=2, adj=0.5, family=SOMEFONT)
mtext("Y", cex=2, adj=??, family=DIFFERENTFONT)
My question regards how to calculate
2010 Apr 22
1
Multicolor main title in a plot or mtext
Dear R-users, the problem I'm facing today is to write a
multicolor main title in a plot.
I would like to have 3/4 colors to help people in the
audience to visually realize what is what in a 4x2 plot array
On top of each plot I would like to have two lines.
The 1st line will indicate what is plotted
The 2nd line will indicate a a reference
Graphically speaking I would like a result similar
2004 Aug 19
3
mtext adj= wrong with several las= (PR#7188)
Dear all,
Our quite basic function mtext() does wrong adjustments in some parameter
configurations. This gets obvious when using multi line texts: There is no
way to properly adjust text perpendicular to axis 2, for example.
Best
Jens Oehlschl?gel
m <- matrix(1:9, 3)
colnames(m) <- c("several\nlines", "several\nlines", "several\nlines")
par(mfrow=c(2,2))
2005 May 13
2
Bug in axis labels (PR#7860)
Bob O'hara wrote:
> I'm a bit reluctant to call anything a bug: I know it's usually my
> incompetence instead. In this case, I can't see what else it is,
> although it may be a bug in Windows.
>
> The problem comes from trying to create a .png of a figure in Windows
> XP, with R2.1.0. On the screen it looks OK, but in the .png the text
> for the x label
2007 Feb 22
3
several Filled.contour plots on the same device...
hello -
a question about filled.contour plots, for which i haven't found a
response in previous posts - sorry if already treated.
i'd like to draw several filled.contour plots (that is, maps) on the same
device (a postscript file, actually). I know about layout(matrix) ,
split.screen or par(mfrow) : it works well for simple plots, but with
filled.contour plots, i get several pages
2003 Aug 07
2
plotmath under windows (PR#3672)
Full_Name: Murray H Smith
Version: 1.7.1
OS: Windows2000
Submission from: (NULL) (202.36.29.1)
This alleged bug is Windows specific and occurs when using Windows metafile
plots.
The problem does not occur in a Linux version.
It does not occur in the pt rintout when a graphic is saved to a postscript file
under Windows.
The problem came to light when using plotmath to label a plot with
2012 Apr 01
1
indexing in a function doesn't work?
Hello,
I've written a small function that's supposed to save me some time, and
it's ending up killing it- the intention is to iteratively subset a dataset
fram on framevec, fit a model (either lm or nls depending on type) and
return the r2 or AIC from the model, respectively. Although as far as I can
tell in my code the plots are dependent on the fit of the model to the data
and the
2003 Jun 19
1
Problem reading a PDF output
I generated a PDF output file of 10 plots. When I try to view it with
Adobe reader (R4 & R5), it will lockup the reader (it is consuming 100% of
the CPU) after presenting the 4th plot. I can generate the plots just fine
in Windows and as a postscript file reading it with GSview.
Is there anyway to tell what might be wrong with the PDF output? The file
is 890KB in size if anyone would like
2004 Oct 29
1
Error in PDF output in R 2.0.0
The following script works fine in R 1.9.1. It was creating a PDF file
with the graphs in it. In R 2.0.0, I got the error message below. I tried
the same script just outputting to Windows and postscript and the output
was OK. The error message only showed up when trying to create a PDF file.
> version
_
platform i386-pc-mingw32
arch i386
os mingw32
system i386,
2005 Jul 11
1
small first graph of par(3,2), other 5 are correct
Hi,
I'm trying to produce 6 graphs on a single page using code I've borrowed
from an example by Paul Murrell:
(http://www.stat.auckland.ac.nz/~paul/RGraphics/custombase-xmastree.R).
It involves placing 6 horizontal barplots on one page and adding common
labels.
The problem is the first graph in my figure (the one in the (1,1)
position) is smaller than the other 5. A toy example is
2008 Sep 25
1
grid.newpage()
Hi,
I'm trying to customize a window with 2 graphs.
I'm able to do the first one with something like this general example
par(mfrow=c(1,2),cex.axis=0.85,cex.lab=0.80,mai=c(1.3,1,0.5,0),las=3)
bplot<-barplot(bar.values,names.arg=cf.names,width=0.5,ylab="% Area held")
abline(h=0.3,lty=3,col="red")
abline(h=0.1,lty=3,col="blue")
2007 Sep 25
2
Adjust barplot to the left
Hello,
I have the following problem: I created an ecdf and a barplot. Unfortunatly,
the bars are not where I would like them to be (please see picture below).
http://www.nabble.com/file/p12877530/problem.gif
That's my code:
#------------------------
par(mfrow=c(2,1), mar=c(2,3,3,2))
#ECDF
x = c(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2)
F2.5 <- ecdf(x)
plot(F2.5,
2001 Aug 03
1
Text adjustment outside (0,1)
Funnily enough, it seems that adjustment of text in the verical
direction is more flexible than in the horizontal. Horizontal
adjustment parameters, seem to be set to the closest of 0 and 1
if they fall outside (0,1). Try e.g.:
plot(0:1,0:1)
for (a in seq(-5,5,0.5) ) text(0.5, 0.5, "Y", adj=c(0,a), cex=2, col="red" )
for (a in seq(-5,5,0.5) ) text(0.5, 0.5, "X",
2010 Apr 20
1
multiple plots problem
hello,
i try to plot 3 graphs which have the same x.axis underneath each other. i'd
like the plots to be aligned without margings between the boxes and draw a
single x axis beneath the lowest plot.
i managed to get the alignment by setting par(mar), but the middle box is
stretched
and i cant't figure out how to get around this. par(pin) was my guess, but
this doesn't do the job
2000 Dec 17
1
multiframe in postscript
I was hoping that the following specification
postscript(file="fig.ps",height=2,width=4)
par(mar=c(5,5,2,2)+.1,mfrow=c(1,2),mex=.6)
would yield the same scaling effect as
postscript(file="fig.ps",height=2,width=6)
par(mar=c(5,5,2,2)+.1,mfrow=c(1,3),mex=.6)
but the fact is that the 'mfrow=c(1,2)' yields smaller plotting frame
and bigger font size.
2001 Sep 27
2
ugly in plotmath: frac(1, sqrt(...)) (PR#1101)
Sometimes (dependent on device and settings of 'cex' and 'lwd') the line
of a square root symbol plottet in the denominator of a fraction appears
to be in or above the line of the fraction.
Examples:
### Choose one of these:
# pdf("test.pdf", height=6, width=8)
# bmp("test.bmp", width=1100, height=800, pointsize=12)
# bitmap("test.tif",
2003 Jul 11
1
Title obscured when using par(mfrow) (PR#3463)
I want to put multiple plots on a page using par(mfrow), then a single title at
the top. This should work, but doesn't:
R> par(oma=c(0,0,4,0), mfrow=c(3,4))
R> for (i in 1:12) {plot(1); title(i)}
R> ## text(10,10, ".")
R> par(mfrow=c(1,1), oma=c(0,0,1,0))
R> title("Main Title")
The main title does not appear. However, uncommenting the third line
2009 Sep 06
2
OS X PDF bug (PR#13943)
par(mfrow=c(2,2))
y<-1:20
plot(y, pch="+")
plot(y, pch="+")
plot(y, pch="+")
plot(y, pch="+")
produces a pdf that is viewable in Preview (copied from the
clipboard) but fails to print.
pch default or ="." or =3 prints.
Unfortunately pch=3 doesn't fix the mfrow=c(5,6) graph that I'm
actually trying to print,
so the bug lies