So I was using ContourPlot to plot an equation and I want to highlight the sampling points of the contour plot. So as written in the Mathematica documentation, I tried using Mesh -> All but I get nothing. I am new to Mathematica so it'll be nice if someone helps me out with this. Thanks.

My Code:

ContourPlot[(1.5303030303030298 + 2/x) x^0.5665236051502147 - (
   3.03030303030303 + y/2)/y^0.14163090128755368` == 0, {x, 0.5, 
  1.5}, {y, 0.0001, 1.9999}, Mesh -> All, PlotPoints -> 10, 
 MeshStyle -> Directive[PointSize[Large], Red] , MaxRecursion -> 0, 
 ContourStyle -> Black]
  • $\begingroup$ From the documentation of ContourPlot you can see that when you plot an equation, you will get LINES that satisfy said equation. What mesh? $\endgroup$
    – bmf
    Mar 23 at 17:02
  • 2
    $\begingroup$ Try: Mesh -> Full $\endgroup$ Mar 23 at 17:06
  • $\begingroup$ @DanielHuber Thanks! $\endgroup$
    – amanasci
    Mar 23 at 17:12


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.