How to create a patch/shape with a color gradient in a simple 2d plot?

Have you checked this post with a beautiful solution by @klaff using Plots, Colors and PolygonOps?

NB: please post your code above inside triple backticks

1 Like