0
$\begingroup$

This question already has an answer here:

How to graph the function $$ \frac{E(\sigma_\rho,\sigma_z)}{N\hbar\bar{\omega}}=\frac{\bar{a}^2}{4}\left(\frac{2}{\sigma_\rho^2}+\frac{1}{\sigma_z^2}\right)+\frac{1}{4\bar{a}^2\lambda^{2/3}}(2\sigma_\rho^2+\lambda^2\sigma_z^2)+\frac{N}{\sqrt{2\pi}}\frac{\bar{a}^2}{\sigma_\rho^2\sigma_z}\left[ a-\epsilon_{dd}f_s(y)\right] $$ in logarithmic scale? Were $N=20 000$, $\bar{a}=1.37\times10^{-5}$, $a=9.54\times10^{-10}$,$\epsilon_{dd}=8.48\times10^{-10}$ e $f_s(y)=-2$.

My code:

ContourPlot[((1.37*10^{-5})^2)/
4 (2/x^2 + 
 1/y^2) + (2 x^2 + (10)^2 y^2)/(4 (1.37*10^{-5})^2 (10)^{2/
    3}) + (20000)/
Sqrt[2 Pi] ((1.47*10^{-5})/x)^2 (1/
 y) ((9.54*10^{-10}) - (8.48*10^{-10}) (-2)), {x, 0, 10^2}, {y, 0.1,10}]

Correct graph enter image description here

My graph enter image description here

$\endgroup$

marked as duplicate by Artes, MarcoB, m_goldberg plotting Jul 3 '17 at 17:27

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 1
    $\begingroup$ Post code, not images of code. Edit your post and add the code. Use the {} to format the block. $\endgroup$ – Edmund Jul 3 '17 at 0:17
  • $\begingroup$ This Q&A has ways for ListContourPlot, which should be able to be adapted to this case. $\endgroup$ – Michael E2 Jul 3 '17 at 0:37
  • $\begingroup$ possible duplicate Q/A: How does one set a logarithmic scale in a ContourPlot? $\endgroup$ – kglr Jul 3 '17 at 1:34
  • $\begingroup$ Is that the energy landscape for a self-trapped dipolar droplet in an ultracold Bose gas? $\endgroup$ – march Jul 3 '17 at 4:51
  • $\begingroup$ @march. Yes. I'm new in Mathematica. Do you any good manual? $\endgroup$ – Dinesh Shankar Jul 3 '17 at 11:18

Browse other questions tagged or ask your own question.