Julia の Plots でポリゴンを描画する方法を探すのに苦労したので,メモしておく。
using Plots
plot(x, y, seriestype=:shape, grid=false, showaxis=false, ticks=false, aspect_ratio=1, label="")
指定が長いので,シュガーコート関数を定義しておくとよいかも。
polygon(x, y) = plot(x, y, seriestype=:shape, grid=false, showaxis=false, ticks=false, aspect_ratio=1, label="")
このようにしておいて,
polygon([1,6,5,3,2], [1,2,6,3,5])
なお,tick ラベルを描かないように ticks=false とするのも,検索には引っかからず,推理してたどり着いた。