Displaying 20 results from an estimated 1000 matches similar to: "Can I add a point to a pointsGrob from an xyplot without redrawing ?"
2007 Feb 12
1
Width of a plotting point (in inches) in grid package
Hello,
I'm trying to determine the width of a plotting point (in inches) in the
grid package. I naively thought I could create a pointsGrob with only one
point and get the width (as tried below), but this results in an object with
a size of 0inches (changing cex has no effect). Does anyone have a better
approach? Of course, it would be dependent upon the graphics parameters and
viewport...
2001 Jan 14
1
Redrawing !
Hi,
If I may suggest that something be done to the window drawing function of a
plot. As it is now, we don't even have time to resize the window by a tiny
bit before it's invoke and I think it would be an improvement if while the
mouse is down the redrawing was delayed somehow. This is especially true
when the plot is crowded. I also observed that moving the plot window around
was a lot
2009 May 21
1
size of point symbols
Dear list,
This might be a topic for r-devel but i may be missing something
obvious.
I don't understand the rationale in the absolute sizes of the point
symbols, and I couldn't find it documented. The example below uses
Grid to check the size of the symbols against a square of 10mm x 10mm.
> checkOneSymbol <- function(pch=0){
> gTree(children=gList(
>
2009 May 21
1
size of point symbols
Dear list,
This might be a topic for r-devel but i may be missing something
obvious.
I don't understand the rationale in the absolute sizes of the point
symbols, and I couldn't find it documented. The example below uses
Grid to check the size of the symbols against a square of 10mm x 10mm.
> checkOneSymbol <- function(pch=0){
> gTree(children=gList(
>
2005 May 20
2
Lattice: it seems, a bug in draw.key function
Dear r-help,
Now I am drawing graphs with xyplot function.
In order to place a legend under the plots I use the key argument in
the xyplot function.
One of the 'key' components is 'divide', which defines a number of
points on the each line of the legend. The default is 3 points.
I would like a single point, so I set divide = 1.
Call to xyplot didn't produce
2007 Dec 26
1
seekViewport error
Why does the seekViewport at the bottom give an error?
> xyplot(Sepal.Length ~ Sepal.Width, iris, group = Species, col = 11:13,
+ auto.key = TRUE)
> grid.ls(view = TRUE)
ROOT
GRID.rect.89
plot1.toplevel.vp
plot1.xlab.vp
plot1.xlab
1
plot1.ylab.vp
plot1.ylab
1
plot1.strip.1.1.off.vp
GRID.segments.90
1
plot1.strip.left.1.1.off.vp
2008 Nov 11
1
Retrieving x argument name from a trellis object in R 2.8.0
Dear all,
let consider the following function:
Fun1 <- function() {
library(lattice)
plot1 <- 1:10~1:10
pl1 <- xyplot(plot1)
return(pl1$call$x)
}
In R 2.5.0 (or older version) we have
> Fun1()
plot1
but starting from R 2.5.1 until the latest R 2.8.0 we obtain instead
> Fun1()
NULL
because pl1$call seems to be equal to xyplot() without arguments.
Something like
2005 Dec 26
4
lme X lmer results
Hi,
this is not a new doubt, but is a doubt that I cant find a good response.
Look this output:
> m.lme <- lme(Yvar~Xvar,random=~1|Plot1/Plot2/Plot3)
> anova(m.lme)
numDF denDF F-value p-value
(Intercept) 1 860 210.2457 <.0001
Xvar 1 2 1.2352 0.3821
> summary(m.lme)
Linear mixed-effects model fit by REML
Data: NULL
AIC BIC
2001 Feb 01
0
screen doesn't handle redrawing properly (PR#837)
Hi. As far as I understand it, there is a list of graphic primitives
stored for a device. So for example, when I iconify/deiconify an X11
window, the plot will be redrawn. Now screen (split.screen and
friends) appear not to handle this list properly, the list is reset or
not reset at odd times. The commands below will show clearly what I
mean. There are two effects:
- After splitting the
2008 Jul 11
0
redrawing X11 devices
Hi,
One thing that has always puzzled me using R, via Emacs/ESS on Debian,
is how the graphics windows get (or don't get) redrawn. At the moment
I've got four different X11() windows open, arranged to all fit on the
screen at the same time. However, I have no idea how to get them all
redrawn consistently. What I mean is, if I now switch focus from my main
Emacs window to one of the
2004 Aug 13
0
redrawing in embedded R
Hi,
I'm embedding R in an application under Debian Linux. I need
to plot some graphicals using R, but they don't redraw. My
program uses qt graphical library.
I read in "Embedding R in Other Applications" that "... R should
be able to export the file descriptors on witch it is waiting
for events and also the callbacks...," but this document don't
tell how to
2016 Jul 08
0
Syslinux Text menu not redrawing/resetting the screen
> Hi,
>
> I have been using syslinux on my portable disk with success on many
> types of machines (both bios boot and EFI boot)
>
> I however hit a small issue recently
>
> If I use menu.c32, on some UEFI systems (HP) the menu does not appear
> after the vendor splash screen. The system however goes ahead and
> after the timeout configured in the menu system
2003 Oct 19
2
problem with win.metafile( ): traceback()
For the first error message:
> win.metafile(file = "//.../plot1.wmf",
+ width = 8.5, height = 6.25)
> lset( list( background = list(col = "white")))
Error in get(x, envir, mode, inherits) :
variable "win.metafile://.../plot1.wmf" was not found
> traceback()
4: get(device)
3: trellis.device(device = .Device, new = FALSE)
2: trellis.par.get(item)
1:
2008 Sep 19
0
Fwd: Lines between panels in lattice
Forgot to send to the list.
Begin forwarded message:
> From: Saptarshi Guha <saptarshi.guha@gmail.com>
> Date: September 19, 2008 1:43:50 PM GMT-04:00
> To: Gabor Grothendieck <ggrothendieck@gmail.com>
> Subject: Re: [R] Lines between panels in lattice
>
> Certainly.
>
> x=cbind(runif(10),rnorm(10),c(rep(1,5),rep(2,5)))
>
2006 Dec 06
1
Drawing On the Desktop
Hi,
I am currently developing a xsnow like plugin for beryl called xglsnow
(http://cornergraf.net/projects/xglsnow/).
I have been told(1) that my way of drawing to the desktop is not very good and
that a better way might exist. I realize beryl is not the same as compiz, but I
hope that the differences are not too big on this matter, if not excuse me for
this post.
My drawing currently works
2011 Apr 27
3
Speed up plotting to MSWindows graphics window
Hello,
I am working on a project analysing the performance of motor-vehicles
through messages logged over a CAN bus.
I am using R 2.12 on Windows XP and 7
I am currently plotting the data in R, overlaying 5 or more plots of
data, logged at 1kHz, (using plot.ts() and par(new = TRUE)).
The aim is to be able to pan, zoom in and out and get values from the
plotted graph using a custom Qt
2009 Jan 29
2
fluxbox, ess and redrawing r windows
Hi,
I'm running Lenny with Fluxbox, interacting with R via Emacs + ESS. An
ongoing aggravation with this setup is trying to get R graphics windows
redrawn.
For example, I may have 8 or 10 R graphics windows open, and I switch
between them using Alt-tab. The problem is, sometimes the windows remain
blank. Sometimes I can get the display back by moving the window with
the mouse, or switching
2008 Sep 19
1
Lines between panels in lattice
Hello,
I have a multi-page display each consisting of two-panels above each
other.
I need to draw a line from the top panel to bottom panel. Using
current.vpTree()
i find that "plot1.panel.1.2.vp" and "plot1.panel.1.1.vp" are the top
and bottom ones respectively.
I am using the following code(inspired by Paul Murrell's R Graphics)
to draw a line.
(All the
2002 Oct 24
4
plot slow?
Hi,
I just installed R and am comparing it to other packages (such as Igor).
So, you'll have to excuse me if this is a stupid question. I run the
simple command:
plot(1:1000000)
And it seems SO slow! Igor blasts through this.
My theory is that R is redrawing the screen for every point that's being
graphed. Is it possible to control how often R redraws a plot as its
building it -
2007 May 31
4
Aggregate to find majority level of a factor
I want to use the aggregate function to summarize data by a factor (my
field plots), but I want the summary to be the majority level of another
factor.
For example, given the dataframe:
Plot1 big
Plot1 big
Plot1 small
Plot2 big
Plot2 small
Plot2 small
Plot3 small
Plot3 small
Plot3 small
My desired result would be:
Plot1 big
Plot2 small
Plot3 small
I