[R] number of ticks in a persp() plot
David Winsemius
dwinsemius at comcast.net
Sun Mar 29 04:20:08 CEST 2009
a s <aquestsi <at> gmail.com> writes:
>
> Hi, I am trying to specify four ticks (at 0,1,2,3 for the y axis) in a persp
> plot but the defaults overrule my specification and I obtain seven of them.
> Is it possible to gain full control over them in such a plot? Here is my
> code:
>
> matlines=matrix(c(1:7,3:9,3:9,2:8),nrow=7,ncol=4)
> persp(x=seq(1,7,1),
I am puzzled. You have just specified 7 "x" coordinates. Why did you expect to
get fewewer than 7 points?
--
David Winsemius
y=seq(0,3,1),z=matlines,theta=-30,phi=25,zlim=c
(0,10),d=5,ticktype="detailed",xlab="x",
> ylab="y",zlab="z")
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help <at> r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
>
More information about the R-help
mailing list