How can I add lines that demarcate the different regions of the following 3D plot like [a > 0, c > 0], [a = 0, c > 0] etc.?
Plot3D[1/(1 + E^(-a - c)), {a, -8, 8}, {c, -8, 8}]
Thanks in advance!
How can I add lines that demarcate the different regions of the following 3D plot like [a > 0, c > 0], [a = 0, c > 0] etc.?
Plot3D[1/(1 + E^(-a - c)), {a, -8, 8}, {c, -8, 8}]
Thanks in advance!
You may find the follwing helpful.
(1) Drawing lines in 3D plots:
http://mathematica.stackexchange.com/questions/20479
(2) Various contour plot and marking planes inside 3D plots:
http://mathematica.stackexchange.com/search?q=planes+in+3D+plot
pl1 = Plot3D[1/(1 + E^(-a - c)), {a, -8, 8}, {c, 0, 8},
Mesh -> {{0}, {0}}, PlotStyle -> None,
MeshStyle -> Directive[Thick, Red]];
pl2 = Plot3D[1/(1 + E^(-a - c)), {a, -8, 8}, {c, 0, 8},
MeshFunctions -> {#1 + #2 &}, Mesh -> {{0}, {0}},
PlotStyle -> None, MeshStyle -> Directive[Thick, Red]];
pl3 = Plot3D[1/(1 + E^(-a - c)), {a, -8, 8}, {c, -8, 8},
Mesh -> {{0}, {0}}, MeshFunctions -> {#2 &}, PlotStyle -> None,
MeshStyle -> Directive[Thick, Red]];
pl4 = Plot3D[1/(1 + E^(-a - c)), {a, -8, 8}, {c, -8, 8},
PlotStyle -> Directive[Yellow, Specularity[White, 20]],
MeshStyle -> Opacity[.5], PlotPoints -> 40];
Show[pl3, pl1, pl2, pl4]
Another answer to the same question is cross-posted on MSE.
Thanks for the reply!
Sorry for crossposting (I did not anticipate that you would be so quick and effective in replying!)
Is it also possible to color the different regions?
Yes it is very easy for rectangular regions:
Plot3D[1/(1 + E^(-a - c)), {a, -8, 8}, {c, -8, 8}, Mesh -> {{0}, {0}},
MeshStyle -> Directive[Thick, Gray],
MeshShading -> {{Yellow, Blue}, {Green, Red}}, PlotPoints -> 40]
But I am not sure about syntax for the custom regions. Maybe that MSE answer syntax is more suitable for that.