# Truncated marker in scatter plot along an axis

**URL:** <https://discourse.julialang.org/t/truncated-marker-in-scatter-plot-along-an-axis/54878>\
**Category:** New to Julia\
**Tags:** plotting, plots\
**Created:** [February 8, 2021, 11:03pm UTC](https://discourse.julialang.org/t/truncated-marker-in-scatter-plot-along-an-axis/54878 "2021-02-08T23:03:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mleprovost](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mleprovost/32/7166_2.png) [@mleprovost](https://discourse.julialang.org/u/mleprovost)\
**Post date:** [February 8, 2021, 11:03pm UTC](https://discourse.julialang.org/t/truncated-marker-in-scatter-plot-along-an-axis/54878/1 "2021-02-08T23:03:44Z")

</div>

Hello,

I would like to visualize a probability density function, and associated samples plotted along the x axis.

```plaintext
using Plots

N = 100
X = randn(N)
xgrid = -5.0:0.01:5.0

plt = plot(xgrid, pdf.(Normal(), xgrid), ylim = (-Inf,Inf), label = "pdf")
scatter!(plt, X, zeros(N), markersize = 10, label = "Samples")
plt

```

![plot](https://global.discourse-cdn.com/julialang/original/3X/1/e/1ea805b6c5ef3172f6b42e72e9d0f60064b707fe.png)

Is it possible to show the entire markers (instead of the truncated circles) for the samples along the x axis?
