I have a large dataset of scattered x,y,z coordinates. I am trying to use ListPointPlot3D to identify outliers in 3D. This involves generating a plot and then rotating it to visualise the 'data cloud' and then trying to pick individual triples of interest. Here is an example of my data:

my data

Using the example from the Document Center (for everyone else's benefit):

 Table[Sin[i] Cos[j], {i, -5, 5, .25}, {j, -5, 5, .25}], 
 ColorFunction -> "Rainbow"]

enter image description here

enter image description here

When the graphic is rotated (using a mouse) the cell size changes which causes the whole notebook to re-adjust when the mouse is released making it hard to stay focussed on a particular part of the graphic. Is it possible to prevent the cell size from changing when a 3D graphic is rotated?

  • 3
    $\begingroup$ I think you can try SphericalRegion -> True $\endgroup$ Commented May 16, 2013 at 0:57
  • 2
    $\begingroup$ Also set ImagePadding -> 15 or some other value, in addition to SphericalRegion -> True. (Without this, the changing axes labels can cause the image to shift.) $\endgroup$
    – Michael E2
    Commented May 16, 2013 at 1:29

1 Answer 1


You could use RotationAction -> "Clip". You will find that this also drastically improves interactive rotation performance on complex graphics. It often produces a lot of extra white space around the plot, but that can be controlled with ViewAngle if necessary. ViewAngle by itself will also fix the viewpoint which has the same effect, so you may use that too.

 Table[Sin[i] Cos[j], {i, -5, 5, .25}, {j, -5, 5, .25}], 
 ColorFunction -> "Rainbow",
 ViewAngle -> 30 Degree
  • $\begingroup$ This seems to fix the problem nicely! Many thanks. $\endgroup$
    – geordie
    Commented May 16, 2013 at 5:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.