# Basic Dot Plot Error

**URL:** https://discourse.julialang.org/t/basic-dot-plot-error/78778
**Category:** New to Julia
**Tags:** plotting
**Created:** [March 31, 2022, 2:02am UTC](https://discourse.julialang.org/t/basic-dot-plot-error/78778 "2022-03-31T02:02:36Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![nilshg](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nilshg/32/2283_2.png) [@nilshg](https://discourse.julialang.org/u/nilshg)
#### Post date: [March 31, 2022, 12:30pm UTC](https://discourse.julialang.org/t/basic-dot-plot-error/78778/4 "2022-03-31T12:30:23Z")

</div>

Have you considered my advice from the previous discussion here:

> [@Simple Linear Regression: Domain Error with 0.0](https://discourse.julialang.org/t/simple-linear-regression-domain-error-with-0-0/78717/24):
>
> I think there’s no need to get personal here - I would tend to agree that it would be helpful for OP to consult some introductory statistics/econometrics textbooks to get a better understanding of the methodologies he’s using, but that’s not all that relevant to the concrete question at hand. What I would humbly ask of you, @YummyPampers2, though is to be respectful of other people’s time and effort spent helping him. Practically this means reading [Please read: make it easier to help you](https://discourse.julialang.org/t/please-read-make-it-easier-to-help-you/14757) and fo…

?

Again your piece of code isn’t an MWE that reproduces your problem. In this case it’s possible to fix it (by adding `import StatsPlots as stp` at the top, and fixing the second `scatter` call by adding a comma after `(:gold, 12)`), but again this is just unnecessary overhead for people trying to help you.

The answer to your question is that this

```julia
l = @layout([title="Entity Compare";
            ylab="Measurement";
            xlab="Lab Entity"])

```

still isn’t Plots/StatsPlots syntax, here’s the documentation for layouts:

[https://docs.juliaplots.org/stable/layouts/#Advanced-Layouts](https://docs.juliaplots.org/stable/layouts/#Advanced-Layouts)

---

_[View the full topic](https://discourse.julialang.org/t/basic-dot-plot-error/78778)._
