-1
$\begingroup$

Let's consider the following simple example

Clear["Global`*"];
C0 = ContourPlot3D[x^2 + y^2 + z^2 == 1, {x, -1, 1}, {y, -1, 1}, {z, -1, 1}, 
Mesh -> None, PlotPoints -> 100, PerformanceGoal -> "Speed"];
S0 = Show[{C0}, AxesStyle -> Directive[FontSize -> 20, FontFamily -> "Helvetica"], 
AxesLabel -> {"x", "y", "z"}, BoxStyle -> Directive[Black, Thickness[0.005]], 
PlotRange -> All, BoxRatios -> {1, 1, 1}, ImageSize -> 550]

enter image description here

Now I want the following: remove all ticks (and numbers) from all three axes, while keeping the labels $x$, $y$, and $z$. If it was a simple 2D plot I could use FrameTicks -> None.

Any ideas?

$\endgroup$

closed as off-topic by zhk, Alexey Popkov, Michael E2, m_goldberg, Bob Hanlon Apr 30 '17 at 15:36

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This question arises due to a simple mistake such as a trivial syntax error, incorrect capitalization, spelling mistake, or other typographical error and is unlikely to help any future visitors, or else it is easily found in the documentation." – Michael E2, m_goldberg, Bob Hanlon
If this question can be reworded to fit the rules in the help center, please edit the question.

2
$\begingroup$

Adopting @Royce suggestion over here,

Ticks -> {Table[{2 i, 2 i, 0}, {i, 7}], None}

enter image description here

$\endgroup$
  • $\begingroup$ I used this trick in v9 but the ticks on the vertical axis remain unperturbed! $\endgroup$ – Vaggelis_Z Apr 30 '17 at 14:53
  • $\begingroup$ @Vaggelis_Z I cannot confirm that coz I am using v11. $\endgroup$ – zhk Apr 30 '17 at 15:06
2
$\begingroup$

I just found that Ticks -> None simply does what I want!

enter image description here

$\endgroup$

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