Displaying 20 results from an estimated 1000 matches similar to: "Relationships between png resolution, axis.text$cex trellis setting, and paddings"
2000 Apr 28
1
graphics: par(mfg=c(i,j,r,c)) (PR#529)
Full_Name: Craig A. McKinstry
Version: 1.0.0
OS: WinNT4.0 and Win98
Submission from: (NULL) (192.101.100.130)
When creating a multi-panel graphic, the command par(mfg=c(i,j,r,c)) is
supposed
to allow the user free movement between graphics panels to develop each panel
separately. This works for the first invocation of par(mfg=c()) and for the
first panel panel specified, but not for subsequent
2010 Mar 19
1
One main title and One legend for multiple lattice plots
Hi All,
Can anyone please help me with getting a "single title" and "legend" for
both the plots in the following R code. I'll eventually be using .wmf file.
# R code:
library(lattice)
p1 <- xyplot(decrease ~ treatment, OrchardSprays, groups = rowpos,
type = "a", main="Same title / legend",
auto.key = list(space = "right",
2010 Sep 25
1
margin control in lattice package
Hi all,
I am difficulty with simple layout of plots in the lattice package
I have created a series of levelplots and would like to plot them to a
single device, but need to reduce the margin areas. This is easily
accomplished with par(oma) and par(mar) in the base graphics package but I
am having problems finding the equivalent features in the lattice package.
Ideally, I would like to reduce
2009 Apr 28
1
Understanding padding in lattice
Dear R-users,
I am trying to understand what the different padding arguments in
trellis.par.set are exactly controlling the space around lattice plots.
I have used the following code as a basis for testing but it did not
really help me to visualize how the value of each argument changes the
margins and the plotting area. I guess a better way to visualize the
effects of these padding items
2016 Dec 29
0
Structure Padding and GetElementPtr
Here is an example:
I can define two classes: A and Apad:
class A {
bool b1, b2;
double d1;
int i1;
};
class Apad {
bool b1, b2;
bool pad1[6];
double d1;
int i1;
bool pad2[4];
};
A and Apad will have the same layout, from the LLVM IR level:
%class.A = type <{ i8, i8, [6 x i8], double, i32, [4 x i8] }>
%class.Apad = type { i8, i8, [6 x i8], double, i32, [4
2010 Apr 19
2
Overlay of barchart and xyplot
Hello R Folks,
I am new to R. I have been struggling to overlay a barchart with a
xyplot together on one plot but did not get this worked out. Any help
and idea are greatly appreciated.
I attached R scripts for barchart and xyplot below and also data I used.
What I am trying to do is just to put the barchart and xyplot together
on one plot.
Huapeng
<<dispersal_infestation.csv>>
2016 Dec 29
1
Structure Padding and GetElementPtr
Yes.
LLVM types != C++ types.
There is no mapping except that produced if you add debug info.
On Wed, Dec 28, 2016 at 6:51 PM, Hong Hu via llvm-dev <
llvm-dev at lists.llvm.org> wrote:
> Here is an example:
>
> I can define two classes: A and Apad:
>
> class A {
> bool b1, b2;
> double d1;
> int i1;
> };
>
> class Apad {
> bool b1, b2;
2009 Jun 17
3
lattice: axis ticks, axis alignment and remove axis from plot
Hi there,
I'm a bit confused concerning the axis tck setting in the lattice
package as the ticks on left sided axis aren't
drawn at all with the following setting:
dados <- data.frame(varsep = factor(rep(1:2,10)),
i = runif(20))
library(lattice)
my.theme <- list(
axis.components = list(left = list(tck = 1, pad1 = 1, pad2 =
2), top = list(tck = 0, pad1
2012 Dec 13
5
remove NA in df results in NA, NA.1 ... rows
Good morning!
I have the following data frame (df):
X.outer Y.outer X.PAD1 Y.PAD1 X.PAD2 Y.PAD2 X.PAD3 Y.PAD3 X.PAD4 Y.PAD4
73 574690.0 179740.0 574690.2 179740.0 574618.3 179650 574729.2 179674 574747.1 179598
74 574680.6 179737.0 574693.4 179740.0 574719.0 179688 574831.8 179699 574724.9 179673
75 574671.0 179734.0 574696.2 179740.0 574719.0 179688 574807.8 179787 574729.2
2005 Feb 15
1
lattice multiple plots per page
Dear R-sters,
I was wondering if anyone has encountered the following issues. I've
figured out how to get multiple levelplots [library(lattice)] on a single
plot. However, when I add text (adding axis labels for the entire four
panel plot) the text is missing when I insert the *.eps file I've created
into my LaTeX document (via MikTeX-WinEdt). And, I've just upgraded to R
2010 Aug 09
1
creating pdf of wireframe
Dear R list,
I have written some code to produce several wireframe plots in a panel. They
look good, but when I try to create a pdf, many (but not all) of the details
I have specified are not reproduced. For example, the line width I have
specified is not reproduced, and neither are the font sizes for the axis
labels. I'm an R novice, so I could really use some guidance.
Here is the code I am
2008 Jun 26
0
plot multiple xYplots
Dear All,
I'm having trouble ploting multiple xYplots (Hmisc) within the same pg
although I've done it before w/ xyplots. I've produced 4 similar plots
e.g.
rna.h<-xYplot(Cbind(RNA,Lo,Up)~HO|factor(MO,labels=c("April",
"May","June")),data=diel.data,method="bars",type="b",
keys="lines",pch=16,col=1,cap=.04,
2008 Jun 26
0
multiple xYplots
Dear All,
I'm having trouble ploting multiple xYplots (Hmisc) within the same pg
although I've done
it before w/ xyplots. I've produced 4 similar plots e.g.
rna.h<-xYplot(Cbind(RNA,Lo,Up)~HO|factor(MO,labels=c("April",
"May","June")),data=diel.data,method="bars",type="b",
2012 May 17
3
New Eyes Needed to See Syntax Error
One of many scripts to produce 4 lattice plots on one page keeps throwing
an error. I've tried manipulating the file to eliminate the error, but have
not been able to do so. The error is:
> source('bicarb.R')
Error in source("bicarb.R") : bicarb.R:15:1: unexpected symbol
14: 15: hco33
^
The 'h' is in column 0 so the caret would be column -1, but it's
2005 Oct 03
2
grob questions
If I run the following example from:
http://www.stat.auckland.ac.nz/~paul/grid/doc/grobs.pdf
> grid.newpage()
> pushViewport(viewport(w = 0.5, h = 0.5))
> myplot <- gTree(name = "myplot", children = gList(rectGrob(name = "box",
+ gp = gpar(col = "grey")), xaxisGrob(name = "xaxis")))
> grid.draw(myplot)
>
2013 Dec 11
1
setting effect plot parameters
I have tried to set parameters of an effects plot with moderate success, but I'm finding that although the plot(effect()) method uses trellis graphics (via the lattice package), not all aspects of the plot can be controlled by standard trellis graphics.
I am able to set any parameters that are given in trellis.par.get() easily enough, for example:
axis.components <-
2001 Nov 21
0
Samba can't find file, NT can
We're having a problem with an application called Grade Machine
running on Windows 98 workstations. The problem occurs when
trying to save when overwriting the currently open class file.
It works on NT 3.51, it works on the local drive, it works
on Samba when short directory names are used, it doesn't
work under Samba 2.0.10 or 2.2.2 when saving to a file in
a folder such as "My
2008 Aug 08
2
gridBase and new.page() / grid.newpage()
Hello all,
I'm trying to write a function using the gridBase package. I'd like
to push several base subplots to a larger plot constructed with grid.
However, I'm having trouble getting consistent results when running
the function when the plotting window (quartz) is closed, when it is
left open and the plot function is repeated to the same window, and
when the output is saved to a
2009 Sep 02
1
get function to return object "name"?
Dear list,
I've written a function that plots subjects. Something like:
myplot <- function(subject) { plot(subject) }
Subjects are vectors, e.g. ...
s1 <- c(200,200,190,180)
... and plotting them works fine, e.g. ...
myplot(s1)
Now I want to have "s1" etc appear in the plot title, but I don't know
how to refer to this generically (the object "name"? I tried
2012 Jun 20
2
exact relative positioning of lattice plots
Hello,
I have two lattice plots for which panel.height is fixed. I am trying to position them in a column so that there is exactly half an inch of vertical space between them. This would be a simple task if I were not fixing panel.height. But given that I am, I can't find a way to put exactly half an inch of space between the plots. Is there a way?
I've checked the Sarkar and