Re: [R] number of ticks in a persp() plot

2009-03-29 Thread Duncan Murdoch
On 28/03/2009 9:42 PM, a s wrote: 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,

Re: [R] number of ticks in a persp() plot

2009-03-28 Thread a s
The x-axis works fine, it's for the y axis that I'm specifying 4 (y=seq(0,3,1)) and still getting 7. On Sat, Mar 28, 2009 at 9:20 PM, David Winsemius wrote: > a s 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

Re: [R] number of ticks in a persp() plot

2009-03-28 Thread David Winsemius
a s 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,

[R] number of ticks in a persp() plot

2009-03-28 Thread a s
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,