2
$\begingroup$

For example I am plotting a 3d data set:

data = Transpose@Range[{10, 10, 10}]

{{1, 1, 1}, {2, 2, 2}, {3, 3, 3}, {4, 4, 4}, {5, 5, 5}, 
 {6, 6, 6}, {7, 7, 7}, {8, 8, 8}, {9, 9, 9}, {10, 10, 
  10}}

ListPointPlot3D[data, PlotStyle -> {PointSize[0.03]}, Boxed -> True,
 BoxRatios -> {1, 1, 1}, Axes -> True, 
 AxesLabel -> {"x (mm)", "y (mm)", "z (mm)"}, 
 ViewProjection -> "Orthographic"]

The result is:

enter image description here

How can I achieve that the origin (0,0,0) is in the lower left edge of the cube (and how can I control on which of the axes the ticks are drawn)?

$\endgroup$
5
$\begingroup$
ListPointPlot3D[data, PlotStyle -> {PointSize[0.03]}, Boxed -> True, 
     BoxRatios -> {1, 1, 1}, Axes -> True, AxesLabel -> {"x (mm)", "y (mm)", "z (mm)"}, 
     ViewProjection -> "Orthographic", AxesEdge -> {{1, 1}, {-1, 1}, {-1, 1}}]

enter image description here

$\endgroup$
  • $\begingroup$ Great ... so many options and I did not find this AxesEdge. $\endgroup$ – mrz Oct 15 '17 at 17:11
  • $\begingroup$ What do I have to do if I want to have the origin where the red circle is: i.imgur.com/rewwO84.png. I want to see the x-y plane parallel to the screen. $\endgroup$ – mrz Oct 15 '17 at 17:29
  • 1
    $\begingroup$ @mrz You need {{1, -1}, {-1, -1}, {-1, 1}}. The 2nd sublist means that the y-axis intersects x and z at their low value. The x-axis (first sublist) intersect y axis at high value and z axis at low value $\endgroup$ – Coolwater Oct 15 '17 at 17:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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