# Is there a way to make the parts of a plot with less data more visible?

**URL:** <https://discourse.julialang.org/t/is-there-a-way-to-make-the-parts-of-a-plot-with-less-data-more-visible/102014>\
**Category:** Visualization\
**Tags:** gadfly\
**Created:** [July 24, 2023, 12:49pm UTC](https://discourse.julialang.org/t/is-there-a-way-to-make-the-parts-of-a-plot-with-less-data-more-visible/102014 "2023-07-24T12:49:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Axze-rgb](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/axze-rgb/32/50986_2.png) [@Axze-rgb](https://discourse.julialang.org/u/Axze-rgb)\
**Post date:** [July 24, 2023, 12:49pm UTC](https://discourse.julialang.org/t/is-there-a-way-to-make-the-parts-of-a-plot-with-less-data-more-visible/102014/1 "2023-07-24T12:49:47Z")

</div>

Hello, I am plotting a kernel density, and the right-end of the plot is hard to see, especially when shared on the web with reduced resolution. I am using this command

> q=Gadfly.plot(U, x=U.x, y=U.density, Geom.point, Theme(default\_color=“dark red”, point\_size=10pt , background\_color=color(“white”),g  
> rid\_color=color(“white”)))

Here is the plot

 ![density_gaussian](https://global.discourse-cdn.com/julialang/original/3X/c/9/c908ea8715798a38912c46f3f565ac22c62cafb9.png)

There are 2 peaks on the right, actually. Is there a way to make them more visible, without giving the false impression there are more points there?  
Thanks

---

<div class="post-metadata">

**Author:** ![berjine](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/berjine/32/51764_2.png) [@berjine](https://discourse.julialang.org/u/berjine)\
**Post date:** [July 24, 2023, 1:10pm UTC](https://discourse.julialang.org/t/is-there-a-way-to-make-the-parts-of-a-plot-with-less-data-more-visible/102014/2 "2023-07-24T13:10:38Z")

</div>

If I’m not mistaken the white-ish zones are actually filled with points, because their border is white  
Maybe you want to use a line plot instead, with a color-coding on the distance between each points for example?

---

<div class="post-metadata">

**Author:** ![Axze-rgb](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/axze-rgb/32/50986_2.png) [@Axze-rgb](https://discourse.julialang.org/u/Axze-rgb)\
**Post date:** [July 24, 2023, 1:23pm UTC](https://discourse.julialang.org/t/is-there-a-way-to-make-the-parts-of-a-plot-with-less-data-more-visible/102014/3 "2023-07-24T13:23:44Z")

</div>

This is the perfect solution, I didn’t think enough, of course a gaussian kernel, it makes sense to plot as a LINE not as disjoint points. Thanks 🙂
