Displaying 2 results from an estimated 2 matches for "zaxis".
Did you mean:
axis
2008 Jul 01
2
Are centre coordinates or upper left corners used of x, y for SpatialPixels?
...;x"], spatial["y"]), proj4string =
proj)
SP <- SpatialPixels(S, proj4string = proj, tolerance = 5e-07)
GRID <- SpatialPixelsDataFrame(points = SP , tolerance = 5e-07, data
= spatial[columnname])
proj4string(GRID) <- proj
gridded(GRID)
nr <- 30
zaxis <- c(0.7, 1)
plot(as(GRID, "Spatial"), axes=T)
title(main = paste(" Day ",dy[i,1], " Year ",dy[i,2], sep=""))
image(GRID, zlim=zaxis, col=rainbow(nr,start=0, end=2/6),add=T)
Thanks for your help,
Regards,
Jan
Ps. Is this good approach to plot...
2008 Jan 26
2
scatterplot3d with categorical data
Dear users,
I'm trying to produce a 3d bar plot but the x and y dimensions have categorical
data -- so I only want 3 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",