mirror of
https://github.com/MartinThoma/LaTeX-examples.git
synced 2025-04-26 06:48:04 +02:00
graph triangles
This commit is contained in:
parent
ef302ae8d2
commit
d9a06acf14
5 changed files with 77 additions and 0 deletions
7
tikz/graph-triangles/coordinates.py
Normal file
7
tikz/graph-triangles/coordinates.py
Normal file
|
@ -0,0 +1,7 @@
|
|||
def giveCoordinates(n):
|
||||
for y in range(0,n):
|
||||
for x in range(y,2*n-y,2):
|
||||
print(x,y)
|
||||
print("")
|
||||
|
||||
giveCoordinates(5)
|
Loading…
Add table
Add a link
Reference in a new issue