# (X-Post from Zulip)Hi all! I have a list of Polygons and would like to plot all

**URL:** <https://discourse.julialang.org/t/x-post-from-zulip-hi-all-i-have-a-list-of-polygons-and-would-like-to-plot-all/54625>\
**Category:** General Usage\
**Created:** [February 4, 2021, 3:54pm UTC](https://discourse.julialang.org/t/x-post-from-zulip-hi-all-i-have-a-list-of-polygons-and-would-like-to-plot-all/54625 "2021-02-04T15:54:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![BridgeBot](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/bridgebot/32/21491_2.png) [@BridgeBot](https://discourse.julialang.org/u/BridgeBot)\
**Post date:** [February 4, 2021, 3:54pm UTC](https://discourse.julialang.org/t/x-post-from-zulip-hi-all-i-have-a-list-of-polygons-and-would-like-to-plot-all/54625/1 "2021-02-04T15:54:55Z")

</div>

(X-Post from Zulip)

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:

```julia

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!

Note that the original poster on Slack cannot see your response here on Discourse. Consider _transcribing the appropriate answer back to Slack_, or pinging the poster here on Discourse so they can _follow this thread_.  
[(Original message :slack:)](https://julialang.slack.com/archives/C6A044SQH/p1611612380334100?thread_ts=1611612380.334100&cid=C6A044SQH) [(More Info)](https://github.com/JuliaCommunity/SlackBridge)

---

<div class="post-metadata">

**Author:** ![TheCedarPrince](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/thecedarprince/32/17323_2.png) [@TheCedarPrince](https://discourse.julialang.org/u/TheCedarPrince)\
**Post date:** [February 4, 2021, 5:37pm UTC](https://discourse.julialang.org/t/x-post-from-zulip-hi-all-i-have-a-list-of-polygons-and-would-like-to-plot-all/54625/2 "2021-02-04T17:37:22Z")

</div>

Thanks to @BioTurboNick we have a solution for this!

“Oh sorry, forgot the other trick: Has to be a 1-row matrix, not a vector. I believe Plots matches columns with series. So, [this should work]:”

`plot(list_of_shapes, fillcolor=permutedims(list_of_colors))`
