2
$\begingroup$

I want to plot two surfaces using Plot3D with a different mesh option, "None" for the first surface and "Full" for the second one, something like this

Plot3D[{x^2 + y^2, x + y}, {x, -1, 1}, {y, -1, 1}, PlotStyle -> {Red, None}, Mesh->{Full,None}]

But it does not work, the Mesh option fails.

$\endgroup$

1 Answer 1

4
$\begingroup$

You can create separate plots with desired mesh options and combine them with Show:

Show[
 MapThread[Plot3D[#, {x, -1, 1}, {y, -1, 1}, PlotStyle -> #2, Mesh -> #3] &, 
   {{x^2 + y^2, x + y}, {Red, None}, {Full, None}}], 
 PlotRange -> All]

enter image description here

$\endgroup$

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.