1
$\begingroup$

I would like to plot the $(x,y)$ phase diagram under this constraint: $$-\frac{x}{3} - \sqrt{\left( \frac{x}{3} \right)^2 - \frac{y}{6}} = 0$$

I tried to use ContourPlot

ContourPlot[-x/3 - Sqrt[(x/3)^2 - y/6], 
       {x, -10, 10}, {y, -10, 10}]
  1. The problem that I am not sure how to interpret the plot.
  2. Why don't I get only one counter?

enter image description here

$\endgroup$
3
  • 2
    $\begingroup$ ContourPlot[-x/(3) - Sqrt[(x/(3))^2 - y/(6)] == 0, {x, -10, 10}, {y, -10, 10}] would just give you only one contour. $\endgroup$ Commented Nov 28, 2017 at 6:09
  • $\begingroup$ Solution of this equation is y=0 at x<=0. Are you sure that this describes a phase diagram? $\endgroup$ Commented Nov 28, 2017 at 8:53
  • $\begingroup$ What does this have to do with phase or phase diagrams? $\endgroup$ Commented Nov 28, 2017 at 17:31

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.