# Draw polygon around scatterplot data?

**URL:** <https://discourse.julialang.org/t/draw-polygon-around-scatterplot-data/28729>\
**Category:** Visualization\
**Tags:** polygons\
**Created:** [September 13, 2019, 6:06pm UTC](https://discourse.julialang.org/t/draw-polygon-around-scatterplot-data/28729 "2019-09-13T18:06:50Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![BioTurboNick](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/bioturbonick/32/6380_2.png) [@BioTurboNick](https://discourse.julialang.org/u/BioTurboNick)\
**Post date:** [September 16, 2019, 3:29pm UTC](https://discourse.julialang.org/t/draw-polygon-around-scatterplot-data/28729/7 "2019-09-16T15:29:22Z")

</div>

Thanks to you and mkborregaard! I found this post which I think gives me 90% of what I need: [Makie based data labeling setup](https://discourse.julialang.org/t/makie-based-data-labeling-setup/20459)

I just need to figure out how to have a function wait for input and then return the array… I can get away with just clearing and repopulating a global if need be, but returning from a function would be nicer.

---

_[View the full topic](https://discourse.julialang.org/t/draw-polygon-around-scatterplot-data/28729)._
