Displaying 7 results from an estimated 7 matches for "dat_key".
2017 Sep 11
2
Σχετ: show 0 at y axis in xyplot lattice
...ally sorry. This is the full code:
dat<-read.csv("example.csv")attach(dat)
sdate<-as.Date(Date, format="%Y-%m-%d")
#change the colour of the strip background
my.settings <- canonical.theme(color=FALSE)
my.settings[['strip.background']]$col <- "blue"
dat_key <- list(space="right",
??????????????? lines = list(type = c("b", "b", "b"), pch=c(22, 21, 22), col = c("red", "black", "red"),
???????????????????????????? fill=c("red", "black", "red"), lwd=1,...
2017 Sep 11
0
show 0 at y axis in xyplot lattice
...d.csv("example.csv")
> attach(dat)
>
> sdate<-as.Date(Date, format="%Y-%m-%d")
>
> #change the colour of the strip background
> my.settings <- canonical.theme(color=FALSE)
> my.settings[['strip.background']]$col <- "blue"
>
> dat_key <- list(space="right",
> lines = list(type = c("b", "b", "b"), pch=c(22, 21, 22),
> col = c("red", "black", "red"),
> fill=c("red", "black", "red&q...
2017 Sep 11
0
show 0 at y axis in xyplot lattice
1. Not reproducible since my.settings, dat_key, sdate not provided.
2. Why did you not try something like ylim = c(-5,80) ?
Cheers,
Bert
Bert Gunter
"The trouble with having an open mind is that people keep coming along and
sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )...
2017 Sep 11
4
show 0 at y axis in xyplot lattice
...t(col="white", font=2, lines=1.5),
?????? lattice.options = modifyList(lattice.options(), list(skip.boundary.labels = 0)),
?????? par.settings=my.settings, col=c("red", "black", "red"), fill=c("red", "black", "red"),
?????? key=dat_key, scales = list(x = list(at = sdate, labels = format(sdate, "%b-%y"))), xlab="Date",
?????? panel = function(x, y, ...) {
???????? panel.grid(h = -1, v = 0, lwd=1, lty=3, col="grey")??????????????
???????? panel.abline(v=sdate, lwd=1, lty=3, col="grey")??????...
2017 Sep 12
2
Σχετ: show 0 at y axis in xyplot lattice
...ist(col="white", font=2, lines=1.5),
#? ? ? lattice.options = modifyList(lattice.options(), list(skip.boundary.labels = 0)),
#? ? ? par.settings=my.settings, col=c("red", "black", "red"), fill=c("red", "black", "red"),
#? ? ? key=dat_key,
#? ? ? scales = list(x = list(at = sdate, labels = format(sdate, "%b-%y"))), xlab="Date",
? ? ? panel = function(x, y, ...) {
? ? ? ? panel.grid(h = -1, v = 0, lwd=1, lty=3, col="grey")
? ? ? ? panel.abline(v=dat$dDate, lwd=1, lty=3, col="grey")
? ? ? ? pane...
2017 Sep 12
0
show 0 at y axis in xyplot lattice
...(col="white", font=2, lines=1.5),
# lattice.options = modifyList(lattice.options(), list(skip.boundary.labels = 0)),
# par.settings=my.settings, col=c("red", "black", "red"), fill=c("red", "black", "red"),
# key=dat_key,
# scales = list(x = list(at = sdate, labels = format(sdate, "%b-%y"))), xlab="Date",
panel = function(x, y, ...) {
panel.grid(h = -1, v = 0, lwd=1, lty=3, col="grey")
panel.abline(v=dat$dDate, lwd=1, lty=3, col="grey")...
2017 Sep 12
0
Σχετ: show 0 at y axis in xyplot lattice
...hite", font=2, lines=1.5),
> #? ? ? lattice.options = modifyList(lattice.options(), list(skip.boundary.labels = 0)),
> #? ? ? par.settings=my.settings, col=c("red", "black", "red"), fill=c("red", "black", "red"),
> #? ? ? key=dat_key,
> #? ? ? scales = list(x = list(at = sdate, labels = format(sdate, "%b-%y"))), xlab="Date",
> ? ? ? panel = function(x, y, ...) {
> ? ? ? ? panel.grid(h = -1, v = 0, lwd=1, lty=3, col="grey")
> ? ? ? ? panel.abline(v=dat$dDate, lwd=1, lty=3, col="g...