'How may I create a plot of a 2D lattice where the color between two points of this lattice is scaled to the distance between two points, in python?
I am incredibly new to python and I need help in plotting a figure like this PLOT
Where it is figure of a 2D atomic lattice where the color of the segments scale according to the length of the segment. The input would be the XY positions of all the atoms.
Thank you for the help!
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
