To draw lines between points P1 and P2 you can use line ([(x1, y1), (x2, y2)]).
But to know which point P1 to join to which point P2 you must:Either build your
points in a logical way to have a method to join them.Or calculate the
distances between all your points (900 points! 900*899/2 dista
Hello,
You have to draw lines between your points.
A solution is to use polyhedron. For instance :
hexa0 = polytopes.regular_polygon(6)
hexa1 = hexa0.translation([float(sqrt(3))/2,1.5])
g = Graphics()
i = 0
while i < 6:
j = 0
while j < 4:
hexa00 = hexa0.translation([i*f
Le vendredi 17 mai 2019 05:35:54 UTC+2, saad khalid a écrit :
>
> Hi everyone:
>
> I'm trying to using Sage's plot functionality to plot the honeycomb
> lattice:
>
> https://sites.google.com/site/makingplots4scipurposes/_/rsrc/1456789513003/gnuplot-samples-of-2d-lattices/honeycomb.png
>
> Plotti
On Sat, May 18, 2019 at 3:49 AM 刘鹏 wrote:
>
> Dear my devolopers,
>
> I have tried the installation on the other PC, which is a windows 10 virtual
> machine on my MacBook Pro.
>
> The warning message is the same as the other PC, which said the Python pcutil
> module cannot detect the status of m