> This is a version of FAQ 7.22: you need to tell R to print lattice graphics.
> Without the next statement, the result would be auto-printed.
>
> Duncan Murdoch
That fixed it. Thank you again. Sorry for not reading the FAQ.
Saiwing
__
R-help@r-pro
On 11-01-19 4:54 PM, Saiwing Yeung wrote:
Hi all,
I had a weird problem with xyplot and I am wondering if anyone can help me
figure out what's wrong here. Basically if I call xyplot() inside a function
and I call quartz() after, then the previous xyplot() does not do anything. A
short demo of
Try this:
Key <- list(text = list(c("FDP", "FDL")), points = list(pch = c("*", "o"),
col = c("red", "blue"), cex = 2), space = "right")
xyplot(S ~ t | ID, key = Key, panel = function(...) {
panel.points(...,
col = rep(c("red", "blue"), 3:4),
The following link is an excellent reference which gives R code for making
different plots in R.
http://addictedtor.free.fr/graphiques/thumbs.php
Is it something like this you want:
http://addictedtor.free.fr/graphiques/RGraphGallery.php?graph=52
The code can be found to do this on the webp
Raymond
I had the same question a while ago and found the answer by typing
RSiteSearch('xyplot error bars')
Peter Alspach
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Raymond Balise
> Sent: Wednesday, 19 September 2007 10:52 a.m.
> To: [EMAI
On 9/14/07, Raymond Balise <[EMAIL PROTECTED]> wrote:
> I am tring to do an xyplot where I want to plot 5 dots in each pane of
> the trellice and the dots need to have lines (whiskers) extending up
> and down at each point(plus a 45 degree reference line). The data
> frame is set up with the varia
Hi Raymond,
It isn't lattice, but this is fairly easy to do with ggplot2:
install.packages("ggplot2")
library(ggplot2)
qplot(x, y, facets = group ~ Method) +
geom_linerange(aes(min = lcl, max=ucl)) +
geom_abline()
See more at http://had.co.nz/ggplot2
Hadley
On 9/14/07, Raymond Balise <[EMAIL
On 9/11/07, Leeds, Mark (IED) <[EMAIL PROTECTED]> wrote:
> Thanks Deepyan. I am doing it in source but I didn't realize that that
> was a function. Thanks so much.
You might try source(..., echo=TRUE) if you want to mimic console evaluation.
-Deepayan
Thanks Deepyan. I am doing it in source but I didn't realize that that
was a function. Thanks so much.
-Original Message-
From: Deepayan Sarkar [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 11, 2007 12:38 PM
To: Leeds, Mark (IED)
Cc: [EMAIL PROTECTED]
Subject: Re: [R] x
On 9/11/07, Leeds, Mark (IED) <[EMAIL PROTECTED]> wrote:
> I have the code below and it works fine if I print the xyplot but if I
> take the print out, then I just get a blank
> pdf. The same holds if I just send the plot to the console without the
> print ( I get nothing ). My question is whether
Original Message
Subject: [R] xyplot question
From: Leeds, Mark (IED) <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Date: 11.09.2007 18:00
>
> load("stocks.dat")
>
> pdf('temp.pdf', width=10, height=8)
>
does ist work with postscript?
something like:
postscript("temp.ps", width =
11 matches
Mail list logo