I want to plot my function on the log-log scale. Why this code doesn't work for me? I write the following one, but nothing happens.

Sin[3 x]+Cos[3 y]==1/2,
{x,.01 Pi,3 Pi},
{y,.01 Pi,3 Pi},
  • 3
    $\begingroup$ Looks all fine for me when I try it in my copy of version 12. What's the issue? $\endgroup$ Aug 28, 2019 at 1:29
  • $\begingroup$ Mine is version 11. Can it be a reason for the problem? The problem is that nothing happens. No error is shown. No graph is shown. $\endgroup$
    – Mehrdad
    Aug 28, 2019 at 2:27
  • $\begingroup$ Hm. Maybe if you increase to increase PlotPoints...? $\endgroup$ Aug 28, 2019 at 2:36
  • $\begingroup$ Code works fine with versions 11.2, 113, and 12.0 on a Mac. $\endgroup$
    – Bob Hanlon
    Aug 28, 2019 at 3:02

1 Answer 1


In version <=11 try this workaround

ContourPlot[Sin[3 Exp[logx]] + Cos[3 Exp[logy]] == 1/2, {logx, Log[.01],Log[3 Pi]}, {logy, Log[0.01], Log[3 Pi]}]

enter image description here


Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.