Color a polygon


#1

Hi,

I have a flat polygon in 3d and I would like to color it. So far, I could not do it. Please note that I do not want to decompose it with triangles.

Thank you for your help,

Best regards

using Plots
t=linspace(0,2pi,10)
    plot(cos(t),sin(t),zeros(length(t)),color=:red)