3
$\begingroup$

How do I change the colour of these lines from black to, let's say, red?

ContourPlot3D[25 (x^3 (y + z) + y^3 (x + z) + z^3 (x + y)) + 
50 (x^2 y^2 + x^2 z^2 + y^2 z^2) - 
125 (x^2 y z + y^2 x z + z^2 x y) + 60 x y z - 
4 (x y + x z + y z) == 0, {x, -1, 1}, {y, -1, 1}, {z, -1, 1}, 
Boxed -> False, Axes -> False, 
ContourStyle -> Directive[Yellow, Opacity[0]], Mesh -> None, 
ViewPoint -> {0, 0, 2}]

Although researching for quite a while, I could not find the answer. Thank you indeed for pointing it out to me.

$\endgroup$
  • $\begingroup$ % /. Black -> Red $\endgroup$ – Simon Woods Dec 18 '15 at 20:40
5
$\begingroup$
ContourPlot3D[
 25 (x^3 (y + z) + y^3 (x + z) + z^3 (x + y)) + 
   50 (x^2 y^2 + x^2 z^2 + y^2 z^2) - 
   125 (x^2 y z + y^2 x z + z^2 x y) + 60 x y z - 
   4 (x y + x z + y z) == 0, {x, -1, 1}, {y, -1, 1}, {z, -1, 1},
 Boxed -> False,
 Axes -> False,
 ContourStyle -> FaceForm@None,
 BoundaryStyle -> Red,
 Mesh -> None,
 ViewPoint -> {0, 0, 2}]

enter image description here

$\endgroup$
  • $\begingroup$ It's not important but FYI the png format is better for graphics $\endgroup$ – Simon Woods Dec 18 '15 at 20:45
  • $\begingroup$ are you using this. It's very nice! $\endgroup$ – Dr. belisarius Dec 18 '15 at 20:47
  • $\begingroup$ Perfect! Thank's for all the help! $\endgroup$ – user3451767 Dec 18 '15 at 21:25

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.