I would like to plot for example a square (or maybe more generally speaking a n-gon).
I know that I can plot "functions" that form a shape, like a circle:
n = 100
ϕ = range(0,stop=2*π,length=n)
x = cos.(ϕ)';
y = sin.(ϕ)';
plot(x,y)
But that turns out to be very difficult when it comes to a n-gon,
I guess one could "stich" lines that can form a n-gon, but that seems very unpractical when you want to plot a 32-gon.
I talked a lot abou n-gons but I am more interested if Julia has some already build in way to plot different types of shapes.
