-1
$\begingroup$

I wonder if I could plot the Fig1.(a) in Physical Review A 87, 063421 (2013), a triangular lattice in MMA. I undetstand that those atoms and interactions can be added by Adobe AI after obtaining the eps by MMA.

Actually I've tried by defining a piecewise function and Plot3D, but it seems to be wierd and the figure is uncontinuous at the boundaries.

Thanks a lot. enter image description here

$\endgroup$
  • $\begingroup$ What have you tried? Please share the code. What is the formula for the potential? Not providing necessary information won't help you here. $\endgroup$ – Henrik Schumacher Aug 15 '18 at 7:36
  • $\begingroup$ arxiv.org/pdf/1305.6687.pdf $\endgroup$ – Alex Trounev Aug 15 '18 at 8:18
  • $\begingroup$ The point is that I gave the reference clearly enough, and I would be able to plot if I know the potential. Thanks anyway. $\endgroup$ – 2ez4rtz Aug 15 '18 at 10:12
  • $\begingroup$ In this article there is nothing about the potential. They write under the FIG.1: "Schematic diagram of the smallest triangular cell of three atoms (a, b and c) trapped in a two-dimensional triangular lattice". $\endgroup$ – Alex Trounev Aug 15 '18 at 11:57
2
$\begingroup$
Show[
 Plot3D[
  Evaluate@Sum[
    -Exp[-(((x - xo + yo/2)^2 + (y - yo Sqrt[3]/2)^2)/(2/25))]
    , {yo, -1, 6}
    , {xo, Round[yo/2] - 1, 4 + Round[yo/2]}
    ]
  , {x, -0.2, 3.2}
  , {y, -0.5, 2.5}
  , Mesh -> None
  , PlotPoints -> 100
  , PlotRange -> {-1, 1}
  , BoxRatios -> {3.4, 3, 2}
  ],
 Graphics3D[
  {
   Blue, Sphere[{1, Sqrt[3]/2 2, -1/2}, .2],
   Purple, Sphere[{3/2, Sqrt[3]/2, -1/2}, .2],
   Green, Sphere[{1/2, Sqrt[3]/2, -1/2}, .2]

   }]
 ]

Mathematica graphics

$\endgroup$
  • $\begingroup$ I tried the Cos type, and now I now it's an exponential trap. Thanks for the nice answer. $\endgroup$ – 2ez4rtz Aug 15 '18 at 10:14

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.