Skip to content
Prev 248272 / 398506 Next

question about the axis label

Unfortunately, this fine control is only hardly possible:

1. [x,y].ticklabs labels the ticks that are in the plot. If there are 
less ticks than ticklabs, the ticklabs are recycled and hence overlap.

2. xlim should do the trick to restrict to a certain range of values. It 
does not precisely and this is a known unfixed (and hard to fix by 
design) bug.

3. What you can do is enhance the number of ticks by telling R how many 
ticks to use approximately as in:

   scatterplot3d(dat, type = "h",
     lab = c(12, 10,0), lab.z = 8, scale.y = 0.7)

where dat is your data.frame.
This tells R to
  - use approx. 12 ticks on x-axis
  - use approx. 10 ticks on y-axis
  - use approx. 8 ticks on z axis
  - scale y length by factor of 0.7

Best wishes,
uwe
On 25.01.2011 08:53, ?? wrote: