Hi all! I have a list of Polygons and would like to plot all the shapes on the same plot where each shape has a different color. What I have been doing is something like this:
using Plots
....
for (num, shape) in enumerate(list_of_shapes)
plot!(shape, fillcolor = list_of_colors[num])
end
Is there a faster way of doing this? Thanks!
I don't know if it's any faster, but there's a nice example using Makie here: https://nbviewer.jupyter.org/github/lazarusA/MakieNotebooks/blob/main/FigGlowCircle.ipynb
Last updated: Nov 22 2024 at 04:41 UTC