Displaying 20 results from an estimated 10000 matches similar to: "lattice: postscript() false margins (PR#949)"
2001 Jun 01
4
multiple lattice-pages (development package!)...
One Question: if I make a lattice-plot (beware: under development!) with
a special layout e.g. c(2,2,4):
p1 <- xyplot(y~x|id,data=data,layout=c(2,2,3))
is there a way to print.trellis e.g. the second page of the trellis
object "p1"?
print.trellis(p1,page=2) #!wrong!
I want this to automatically dev.print the pages (no, I don't want multiple
postscript pages). If this
1999 Sep 30
3
plotting text on a postscript device
It seems that the text command isn't working for a postscript device.
Here is my code:
#-----------------------------
# I have stored some data in a 21 by 21 matrix called mat
x <- 1:ncol(mat);
y <- 1:nrow(mat);
labs <- c(" ", "1298", "1537", "TP53", "786", "974", "1303", "1288",
"1294",
2000 Feb 20
1
split.screen + postscript Problem (PR#454)
Dear R-helpers,
with R-0.99a, Linux, Red-Hat 6.1 derivat (Halloween Linux) I have
the following Problem with this code:
graphics.off()
close.screen(all=T)
temp <- matrix(c(0 , 1 , .4 , 1,
0 , 1 , 0 ,.4),
ncol= 4,
byrow=T )
split.screen(temp)
plot(1:100)
2005 Sep 21
2
controlling usage of digits & scientific notation in R plots; postscript margins
Dear R users:
I assigned students to make some graphs and I'm having trouble answering
some questions that they have. We are all working on R 2.1 on Fedora
Core Linux 4 systems.
1. In the plot, the axis is not labeled by "numbers", but rather
scientific notation like "-2e+08" or such. We realize that means
-200,000,000. We want to beautify the plot. We would rather
2002 Dec 20
5
Getting graphs into LaTeX
Hello ALL:
I ran with success the following commands in R getting a file saved
------------------------------------------------------------------------------------
postscript()
postscript('~/data/st202/2003/lecture00/lecture00-graph-01.eps',
horizontal = FALSE, height = 6, pointsize = 10)
hist(trial.outcome.5, breaks = 5,
main = '1000 Replications of 5 Trials of a
2001 May 26
3
xyplot,grid.text segfault (PR#948)
First, thank you very much for that lattice-package, second, the code
below segfaults R:
zz <- data.frame(
y=rnorm(100),x=rnorm(100),z=round(rnorm(100)),
g=as.character(rep(1:2,50)))
xyplot(y~ x|z,data=zz,groups=g,
panel = function(x, y, subscripts, groups)
grid.text(x=x, y=y, label=groups[subscripts])
)
I'm not sure if I
2001 Jun 06
1
lattice (!under development!) font curiosity
Perhaps this might be a font problem, it might be that my font dirs
are broken (but I don't think so, it is a standard potato inst.):
> xyplot(rnorm(10) ~ rnorm(10) ,main=list("???dsa",cex=2))
...displays German special characters false (as greek letters).
Curiously these work o.k.:
> xyplot(rnorm(10) ~ rnorm(10) ,main="?dsa")
> xyplot(rnorm(10) ~ rnorm(10)
2001 Jun 06
1
lattice (!under development!) font curiosity
Perhaps this might be a font problem, it might be that my font dirs
are broken (but I don't think so, it is a standard potato inst.):
> xyplot(rnorm(10) ~ rnorm(10) ,main=list("???dsa",cex=2))
...displays German special characters false (as greek letters).
Curiously these work o.k.:
> xyplot(rnorm(10) ~ rnorm(10) ,main="?dsa")
> xyplot(rnorm(10) ~ rnorm(10)
2005 Feb 17
1
short plots: lwd, margin and postscript behavior
Hi all.
I'm working with a short plot (3x3 inches), but the
results (via postscript command) are not nice. The lwd
command don't affect the lines (that are very large)
and the margins don't change using oma, mai, mar, ...
Below I put an example. Moreover, save the graphics
via postscript command isn't working well (see the
attached ps).
Thanks by the help,
Cezar Freitas.
2000 Jul 01
0
margins with postscript device
I've been having a problem when printing plots to a HP DeskJet 2500C printer.
This printer, like most inkjet printers, has a large minimum bottom margin.
For most HP inkjet printers, the bottom 1/2" (left 1/2" inch for landscape)
of the page can't be printed too. The postscript device in R has a default of
1/4" margins between the paper edge and the plotting area. This
2006 Mar 01
1
postscript bounding box in trellis/lattice plot is wrong ?
Hi, a problem involving postscript bounding boxes:
I'm composing three scatterplots into a single figure,
postsript for publication.
The individual scatterplots should be square, so
the overall figure should have a roughly 1:3 sort of
aspect ratio.
By default however, the overall figure comes out
nearly square,
and the scatterplots are stretched vertically.
I fixed this by adding
2004 Jun 24
2
More problems with lattice and postscript
Dear List members,
I am trying to produce some trellis graphics and to save them in a
postscript file but I only get blank files. R behaviour is certainly
strange because I use a loop to generate the graphics (see code below).
When I change the loop variable myself the postscript graphics are OK.
I am using R 1.9.1 (2004-06-21) on Debian GNU/Linux which I try to keep
updated on a daily basis. I
2008 Nov 14
0
plotting to Postscript and margins
Hi,
I am using R 2.8.0 on Kubuntu 8.04.
My problem is that is can't get my postscript
output to work the same way as on screen output.
If I copy the device after plotting dev.print()
font sizes don't match and text sticks out of the figure margins.
When I use postscript() to create a new plotting device R
fails to plot with the error:
Error in plot.new() : figure margins too large
How do
2005 Mar 14
1
initialising trellis device {lattice}/ postscript
Background:
OS: Linux Mandrake 10.1
release: R 2.0.0
editor: GNU Emacs 21.3.2
front-end: ESS 5.2.3
---------------------------------
Colleagues
I am using:
trellis.device(postscript, file="../figures/name.ps")
.....code to generate the trellis display here ....
graphics.off()
to create a postscript from a working xyplot display.
The problem is that the postscript file appears to be
2005 Apr 26
1
Problem with clipping in Lattice, and closing a postscript device
I would appreciate any answer to the following two problems I am having with
the Lattice package.
First, in most instances of using Lattice, the produced graphs have some
clipping, usually at the borders of the encompassing rectangles. An example
of this is here: http://cs.uwm.edu/~vu/lattice.pdf where the clipping occurs
in the first half of the X axis.
Second, when printing to a postscript
2005 Mar 22
2
lattice xyplot() postscript (?) problem in R 2.0.0
Dear all,
I work with R Version 2.0.0 on
Machine hardware: sun4u
OS version: 5.9
Processor type: sparc
Hardware: SUNW,Sun-Blade-1000
and I have a very simple data frame (called OR) with the following
variables:
> sapply( OR, class)
X ci FTyp
"factor" "numeric" "factor"
(In OR$ci there are some Inf-values. OR's
2011 Mar 07
1
postscript cuts off left margin
I am using the following commands:
postscript(file="test.eps",paper="special",width=6,height=6,horizontal=FALSE)
# fake data
x <- c(12,13,14)
y <- c(41,42,43)
plot(x,y,type="n",xlab=expression(paste("log ",nu[peak],"
[Hz]",sep="")),ylab=expression(paste("log ",L[peak]," [",ergs,"
2006 Jan 26
2
footnote in postscript lattice
I would like to add a footnote to this graph but do not see a "footnote" command in the package:lattice documentation. I would like to note the "span=.8"
as the footnote.
postscript(file= ?C:/Documents and Settings/dsonneborn/My Documents/Slovak/output/pcb_tables/smooth_PCB_lines_four.ps?, bg=?transparent?, onefile=FALSE, pointsize=20,paper=?letter?, horizontal=TRUE,
1999 Aug 19
2
OT: PSTOWMF
Hallo,
I've produced via R-0.62 several Life-tables 50*6 (mfrow=c(2,3))
as postscriptgraphs. The phd student, who asked for this, use word for
windows--therefore i converted the whole stuff with pstoimg to gifs.
Unlikly the result is not sufficient (I was told)...
Is there a tool to convert ps to wmf/emf ? I looked for it but haven't
found anything...
Thanks for an answer
Peter
2002 Feb 26
1
? Nice colors for lattice?
Just a quick question: Does anybody has a nice palette (
yes, I know that this isn't the right lattice-command) for lattice?
I'm just making some graphs for a poster-presentation and I'm don't really
like these trellice colors.
Thanks
Peter
--
P.Malewski, Limmerstr.47, 30451 Hannover, 0511-2135008
At work: http://www.MH-Hannover.de 0511 532 3194 / Fax: 0511 532 3190,