# Control on density plot marker shape and color

**URL:** <https://discourse.julialang.org/t/control-on-density-plot-marker-shape-and-color/124846>\
**Category:** Visualization\
**Tags:** statsplots\
**Created:** [January 16, 2025, 7:05pm UTC](https://discourse.julialang.org/t/control-on-density-plot-marker-shape-and-color/124846 "2025-01-16T19:05:53Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![rafael.guerra](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rafael.guerra/32/216610_2.png) [@rafael.guerra](https://discourse.julialang.org/u/rafael.guerra)\
**Post date:** [January 19, 2025, 10:43am UTC](https://discourse.julialang.org/t/control-on-density-plot-marker-shape-and-color/124846/2 "2025-01-19T10:43:15Z")

</div>

With StatsPlots.jl it is possible to change the marker styles and/or the line styles in the density plots:

 ![StatsPlots_density_marker_types_and_line_widths](https://global.discourse-cdn.com/julialang/original/3X/6/d/6d6e894fe71edc772898becb5a9d49f1e2d85b05.jpeg)

However, for the scatter series type, AFAIK there seems to be no way to control the minimum spacing between the markers (see also [this post](https://discourse.julialang.org/t/is-there-a-simpler-way-to-plot-less-points/75786/6)).

---

_[View the full topic](https://discourse.julialang.org/t/control-on-density-plot-marker-shape-and-color/124846)._
