Group Abstract Group Abstract

Message Boards Message Boards

Does anyone know how to plot a 3D set of points with multiple constraints?

POSTED BY: Aidan de Nobrega

Equalities are handled by ContourPlot3D, with RegionFunction carving a subset defined by inequalities:

ContourPlot3D[
 x^2 + y^2 + z^2 == 5, {x, -1, 3}, {y, -3, 3}, {z, -3, 3}, 
 RegionFunction -> Function[{x, y, z}, y^2 + z^2 <= 3 && x >= 0]]

Pay attention to the double == instead of single =

POSTED BY: Gianluca Gorni
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard