Displaying 3 results from an estimated 3 matches for "zlabel".
Did you mean:
label
2008 Jan 26
2
scatterplot3d with categorical data
...points on each axis. So I try:
require(scatterplot3d)
mymat<-data.frame(
x=c(1,1,1,2,2,2,3,3,3),
y=c(1,2,3,1,2,3,1,2,3),
z=c(1,2,3,4,5,6,7,8,9))
scatterplot3d(mymat,
type="h", lwd=5, pch=" ",
xlab="xlabel", ylab="ylabel", zlab="zlabel",
xlim=c(1,3), ylim=c(1,3),
lab=c(3,3),
x.ticklabs=c("Low","Medium","High"), y.ticklabs=c("Green","Blue","Black"),
main="My Bar Plot")
But I still get x ticks at 1, 1.5, 2, 2.5, 3 on both x and y axes. I
thought...
2011 Sep 09
1
Rgl and plotmath symbols (via sprites): a trial
.../r-help/attachments/20110909/cee818d1/attachment.png>
-------------- next part --------------
require(rgl)
require(grid)
s <- seq(0, 1, length.out=21)
M <- function(u) apply(u, 1, min)
u <- s
v <- s
z <- outer(u, v, function(u,v) M(cbind(u,v)))
## create z-axis label
png("zlabel.png", bg="transparent", width=70, height=70)
grid.newpage()
pushViewport(plotViewport(c(1,1,1,1)))
print(grid.text(expression(W(u[1],u[2])==c),rot=90))
popViewport()
dev.off()
## plot
persp3d(u, v, z, aspect="iso", front="line", lit=FALSE, axes=FALSE, xlab="...
2002 Aug 21
2
More help with Lattice
Hi:
Thanks a lot to Deepayan Sarkar, author of lattice I think, who
solved my first query. I am afraid that I have another one.
I am plotting several mutipanels boxplots (with one conditioning
variable) on one page. The x, y and conditioning variable are all
continuous variables. The x and conditioning variables are
transformed to shingles before being plotted. The plot looks nice but
there