Questions tagged [lattices]

83 questions
4
votes
1 answer

Plotting a function on a triangular lattice

I am new to Mathematica, and am unsure on how to start this. I am working with a triangular lattice $\mathcal{T}$ with basis vectors $(1,0)$ and$\left(-\frac{1}{2},\frac{\sqrt{3}}{2}\right)$, and have a function $f:\mathcal{T}\to\mathbb{R}$ that is…
spaceman
  • 323
  • 1
  • 6
1
vote
1 answer

Planes for tetragonal lattice

I've edited a code written for cubic lattice to make it for a tertagonal lattice, but the planes are wrong. They should reach the boundary of the shape, so I need a correction for this code: Manipulate[ Show[ LatticeData[ Which[Type ==…
Dema SD
  • 11
  • 1
0
votes
3 answers

Hexa/tria lattice generation

How do we generate a regular hexagon / triangle combination of repeating cell geometry shown : (Plastic chair seat weave, Star of David). Unlike a pure triangle lattice where a node has three intersecting lines this one has alternate sides…
Narasimham
  • 3,160
  • 13
  • 26