Displaying 7 results from an estimated 7 matches for "dplot".
Did you mean:
plot
2007 Mar 25
1
eliminating panel borders from lattice plots
...rying to eliminate panel borders from my
lattice plots. By default, they always print. For
example:
library(lattice)
x <- seq(-3,3,length=1000)
y1 <- dnorm(x)
y2 <- dnorm(x, sd=.5)
data <- data.frame(x=rep(x,2), y=c(y,y2),
panel=rep(c(1,2), each=1000))
dplot <- xyplot(y~x | panel, data=data, strip=F,
scales=list(draw=F))
print(dplot, scales=list(draw=F))
prints borders around each panel. I see no way to
get rid of them short of creating a panel function
and "painting over" these default borders with
grid.rect(). But I suspec...
2007 Dec 21
1
substitute() bug? (PR#10525)
...uot;,topp),list(topp=topp)), type="l");
plot(bob$y~bob$x,xlab="", ylab="",
main=substitute(paste(theta[1],"=",topp),list(topp=topp)), type="l");
Note that theta is not defined anywhere:
ls()
[1] "bob" "dline" "dplot" "dpt" "less" "lesseq"
[7] "more" "moreeq" "peak" "peakline" "peakplot" "pop"
[13] "topp" "x"
Version:
platform = i386-apple-darwin8.10.1
arch = i386...
2009 Feb 10
1
lattice shingle with time and date format
...)
#I want to recreate something like coplot with lattice
coplot(y~x|times,data=df)
#this doesn't work, which is an issue with co.intervals
breaks<-equal.count(times)
#this does work
breaks<-equal.count(unclass(times))
#In the lattice book there is this outline
bPlot<-plot(breaks)
dPlot<-xyplot(y~x|breaks, data=df)
plot(bPlot, position=c(0,0.65,1,1))
plot(dPlot, position=c(0,0,1,0.65),newpage=FALSE)
#The plot is ok, but the xaxis is in numeric and not date
#########################################
Jon Loehrke
Graduate Research Assistant
Department of Fisheries Oceanography
Sc...
2011 Nov 08
1
Building package problem
...ASCII characters ... OK
* checking data for ASCII and uncompressed saves ... OK
* checking examples ... ERROR
Running examples in 'hydroGOF-Ex.R' failed
The error most likely occurred in:
> ### Name: plot2
> ### Title: Plotting 2 Time Series
> ### Aliases: plot2
> ### Keywords: dplot
>
> ### ** Examples
>
> sim <- 2:11
> obs <- 1:10
> ## Not run:
> ##D plot2(sim, obs)
> ## End(Not run)
>
> ##################
> # Loading daily streamflows of the Ega River (Spain), from 1961 to 1970
> require(zoo)
Loading required package: zoo
Attaching...
2008 May 05
3
troubles with R CMD check and examples under Ubuntu gutsy
Dear listers,
I was used to package pgirmess under Windows with everything OK, but,
for the first time, I had a trial this afternoon on Ubuntu 7.10 gutsy (I
have a double boot computer and work more and more under unix) and R
2.7.0. Everything went OK except this:
sudo R CMD check pgirmess
.....
* checking examples ... ERROR
Running examples in 'pgirmess-Ex.R' failed.
The error most
2003 Jan 24
4
new function: showcolors {base}
...\code{\link{rainbow}},
\code{\link{grep}}.
}
\author{
Wolfram Fischer
}
\examples{
showcolors()
showcolors( palette() )
showcolors( rainbow(24) )
showcolors( "yellow" )
showcolors( "yellow", pie=FALSE )
showcolors( "blue", index=26:50 )
}
\keyword{color}
\keyword{dplot}
#---
2003 Jan 24
0
new function: twotailed.colors {base}
...rs}}, \code{\link{palette}}, \code{\link{hsv}},
\code{\link{rgb}}, \code{\link{gray}} and \code{\link{col2rgb}} for
translating to RGB numbers.
}
\author{
Wolfram Fischer
}
\examples{
twotailed.colors(12)
twotailed.colors(24,12)
showcolors( twotailed.colors(24,12) )
}
\keyword{color}
\keyword{dplot}
#---