# How to plot circles with given radii using Plots

**URL:** <https://discourse.julialang.org/t/how-to-plot-circles-with-given-radii-using-plots/47845>\
**Category:** General Usage\
**Tags:** plots\
**Created:** [October 6, 2020, 9:54am UTC](https://discourse.julialang.org/t/how-to-plot-circles-with-given-radii-using-plots/47845 "2020-10-06T09:54:29Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![mthelm85](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mthelm85/32/224164_2.png) [@mthelm85](https://discourse.julialang.org/u/mthelm85)\
**Post date:** [October 6, 2020, 7:01pm UTC](https://discourse.julialang.org/t/how-to-plot-circles-with-given-radii-using-plots/47845/3 "2020-10-06T19:01:28Z")

</div>

I’m not sure what the desired outcome is but, just in case this might be helpful, you can pass a vector to the `markersize` keyword argument:

```julia
using Plots

diameters = rand(5.0:0.2:15.0, 10)

scatter(rand(10),markersize=diameters,legend=false)

```

![radii](https://global.discourse-cdn.com/julialang/original/3X/4/c/4cadec1c68ab87760148cc2268882cf176eb4b23.png)

---

_[View the full topic](https://discourse.julialang.org/t/how-to-plot-circles-with-given-radii-using-plots/47845)._
