1
$\begingroup$

How would I plot the cylinder $y^2 + z^2 = 9$ and the planes $x = 0$, $y = 3x$, and $z = 0$ in the same graph and in the first octant.

{
  y^2 + z^2 == 9,
  y == 3 x,
  z == 0
 }
$\endgroup$
  • $\begingroup$ Hi Brett, welcome to Mma.SE. Start by taking the tour now and learning about asking and what's on-topic. What have you tried? Please show due diligence, give brief context, include minimal working example of your code formatted form. By doing all this you help us to help you and likely you will inspire great answers. Here it's considered helpful and polite to show your own efforts, please edit and improve your question. $\endgroup$ – rhermans Jul 17 '19 at 16:20
3
$\begingroup$
ClearAll[x, y, z];
ContourPlot3D[
 {
  y^2 + z^2 == 9,
  y == 3 x,
  z == 0
  }
 , {x, 0, 5}
 , {y, 0, 5}
 , {z, 0, 5}
 ]

enter image description here

ContourPlot3D[
 {
  y^2 + z^2 == 9,
  y == 3 x,
  z == 0
  }
, {x, -12, 12}
, {y, -12, 12}
, {z, -12, 12}
]

enter image description here

enter image description here

$\endgroup$

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.