Displaying 20 results from an estimated 9000 matches similar to: "Using pointsize with postscript trellis.device"
2003 Apr 04
3
trellis.graphic in for-loop
Hi list,
I am unsuccessfully trying to produce a serious of trellis barcharts from
within a for-loop. The barcharts work outside the loop. What am I missing?
Example attached.
Thanks Herry
#XXXXXXXXXXXXXXXXXXXXXX
trellis.device(bg="white")
trellis.par.get("fontsize")->fontsize
fontsize$default<-16
trellis.par.set("fontsize",fontsize)
2013 May 21
1
Lattice, ggplot, and pointsize
Hi!
When inserting R plots into a document using odfWeave, I fought for a
while to get Lattice plots use the same text size as base plots. I
eventually discovered that specifying a point size via e.g.
svg(pointsize=10) has no effect on Lattice plots. One needs to adjust
the size manually via:
trellis.par.set(fontsize=list(text=10, points=8))
This is also developed for both Lattice and ggplot2 by
2003 May 07
1
Tick labels on y axis in lattice plots
I seem to remember this was discussed a year or two ago, but I can't
find it in the archives.
platform i686-pc-linux-gnu
arch i686
os linux-gnu
system i686, linux-gnu
status
major 1
minor 7.0
year 2003
month 04
day 16
language R
2000 Aug 14
0
Postscript device bug when more than one page is needed?
It would appear to me that there is a bug in the postscript device
when multiple pages are required. Line widths can be only 1 after the
first page. I have not seen reference to this as a problem before.
test.device <-
function()
{
# looks like the problem is in the postscript device
postscript(file = paste("Test.ps"), horizontal = F)
on.exit(dev.off())
2006 Nov 27
2
[R-sig-Geo] plot() and Jpeg() increase font size and resolution
Thanks to Edzer and Roger,
I can now plot with increased font sizes. However, jpeg still does not
reproduce these, nor does it show up in high quality. What I would like
to do is produce some highresolution jpegs.
Any help would be appreciated
Thanx
Herry
R2.4 on Mandriva 10.2 linux.
Dr Alexander Herr
Spatial and statistical analyst
CSIRO, Sustainable Ecosystems
Davies Laboratory,
University
2002 Dec 03
1
Common keys on separate lattice plots
In 'normal' plotting, by using text(.... outer = TRUE), I can set a
title that can refer to multiple plots.
I'm trying to achieve a similar effect with several trellis objects
with which I wish to use a common key. I can only think of
complicated ways of achieving such an end by using a separate grid
graphic which didn't have any plot, but text only.
Is there something more
2003 Jul 11
3
postscript/eps label clipping
The following code produces an eps file with the tops of each of the ylabs
clipped off.
par(mfrow=c(2,2))
plot(runif(10),
ylab="Function(Lengthy Expression)",xlab="Prediction")
plot(runif(10),
ylab=expression(Delta * Beta^2),xlab="Prediction")
plot(runif(10),
ylab="Function(Lengthy Expression)",xlab="Prediction")
2005 Sep 07
1
Lattice key seems to ignore the key list
I've never had this problem before and can't see what could be
different from other times I've used keys with lattice.
It appears that auto.key is being taken as TRUE when I specify a key
list. The list I specify seems to be ignored.
Where can I place a browser to figure out what is going on?
Having made a list key.symbol from trellis.par.get, and specified a
scales list and a
2003 Feb 21
1
more mulitpage postscript problems
Hi,
I posted a while ago about 'overlap' problems using png/jpeg. If what
Patrick Connolly suggests is truly happening, I think the following may be
related.
My new problem is with the following code (the overlap is still there if I
use png() instead of postscript(), compounded by the difficulty described
below):
tmp <- matrix(runif(16000), nrow=16)
2005 Feb 18
1
Examples of multiple key grobs
The xyplot help page gives quite a lot of information how to use key
and indicates that legend needs to be used if multiple keys are
needed. However, it gives only a brief description of what the grob
needs to contain to do multiple keys.
I've only used the occasional grid function in panel functions, so I
don't have much of a sense of how grobs are constructed. I've been
unable to
2002 Dec 11
1
Adding a title to a postscript file
I create lots of postscript files which I view with ghostview. The
beginning of the files all begin something like
%!PS-Adobe-3.0
%%DocumentNeededResources: font Helvetica
%%+ font Helvetica-Bold
%%+ font Helvetica-Oblique
%%+ font Helvetica-BoldOblique
%%+ font Symbol
%%DocumentMedia: a4 595 841 0 () ()
%%Title: R Graphics Output
%%Creator: R Software
The consequence is that in ghostview,
2006 Nov 24
2
plot() and Jpeg() increase font size and resolution
Dear list,
I am having troubles increasing the fontize when plotting a
variogram{gstat} and its model (vgm) with plot and using jpeg(). Also
the resolution in the jpeg call does not work. I am using R2.4 on
Mandriva 10.2 linux.
I can change fontsize with cex.axis in a normal plot, so I presume it
has to do with plotting the variogram model. Any help on how to increase
the font size and
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
2000 Aug 09
0
Postscript device
It would appear to me that there is a bug in the postscript device
when multiple pages are required. Line widths can be only 1 after the
first page. I have not seen reference to this as a problem before.
test.device <-
function()
{
# looks like the problem is in the postscript device
postscript(file = paste("Test.ps"), horizontal = F)
on.exit(dev.off())
2000 Aug 16
1
Multiple pages with postscript() (PR#635)
Version:
platform = i686-pc-linux-gnu
arch = i686
os = linux-gnu
system = i686, linux-gnu
status =
major = 1
minor = 1.0
year = 2000
month = June
day = 15
language = R
Search Path:
.GlobalEnv, Autoloads, package:base
The function will produce a three page file, but only the first one
has the lwd parameter set. The other pages have reverted to lwd = 1.
I've tried setting the
2003 Apr 22
4
Default value for title in postscript function
I like the fact that the postscript function enables the possbiility
of a more useful title than before. However, I'd prefer the default
to be the file name.
It's very simple for me to make my own postscript function that does
just that simply by setting title = file. I always use onefile =
TRUE, so it always works (so far). However, I'm a little reluctant to
do that in case some
2003 Apr 22
4
Default value for title in postscript function
I like the fact that the postscript function enables the possbiility
of a more useful title than before. However, I'd prefer the default
to be the file name.
It's very simple for me to make my own postscript function that does
just that simply by setting title = file. I always use onefile =
TRUE, so it always works (so far). However, I'm a little reluctant to
do that in case some
2005 Jan 10
3
Mixing portrait/landscape in a postscript file
Dear list,
I'm stuck with a little graphical problem. I'm generating several
lattice plots which are printed in a single postcript device opened by
> trellis.device(postscript, theme=canonical.theme("postscript",
color=F), file="an_phase2_graph.ps", paper="a4", pointsize = 10,
onefile=TRUE, horizontal=TRUE)
Everything works fine,but some of these
2003 Apr 22
2
How do I get 10^4 to become 10000?
Of course, that's as trivial as it gets on the command line, but I
can't work out how to get a column of numbers that are entered as
"10^5" from its 'character' format into a numeric one?
I feel a bit embarrassed asking such a simple question. Too much
Easter....
Thanks
--
Patrick Connolly
HortResearch
Mt Albert
Auckland
New Zealand
Ph: +64-9 815 4200 x 7188
2003 May 05
1
Matrix manipulation
I have a square matrix wherein a '*' indicates an HSD between the
levels indicated by row name and column name. The '.' is simply
marking the diagonal. A blank indicates the same group
A B C D E F G H I J K L M N
A .
B .
C * * .
D * * .
E * * * .
F * * * .