# Plotting data showing 2 sets of data

**URL:** <https://discourse.julialang.org/t/plotting-data-showing-2-sets-of-data/107272>\
**Category:** New to Julia\
**Tags:** syntax, pluto\
**Created:** [December 7, 2023, 2:07pm UTC](https://discourse.julialang.org/t/plotting-data-showing-2-sets-of-data/107272 "2023-12-07T14:07:59Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Nathan\_Boyer](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nathan_boyer/32/14825_2.png) [@Nathan\_Boyer](https://discourse.julialang.org/u/Nathan_Boyer)\
**Post date:** [December 7, 2023, 2:33pm UTC](https://discourse.julialang.org/t/plotting-data-showing-2-sets-of-data/107272/2 "2023-12-07T14:33:57Z")

</div>

> [@Please read: make it easier to help you](https://discourse.julialang.org/t/please-read-make-it-easier-to-help-you/14757):
>
> Welcome to the Julia Discourse! We are enthusiastic about helping Julia programmers, both beginner and experienced. This public service announcement (PSA) outlines best practices when asking for help. Following these points makes it easier for us to help you and more likely you’ll get a prompt, useful answer. Keywords are highlighted to make it easier to refer to specific points. Choose a descriptive title that captures the key part of your question, eg “plots with multiple axes” instead of …

Start by putting each line (or code block) in its own Pluto cell to see which line is giving the syntax error.

Also, you have made the common mistake of using `'''` rather than ````` when posting your code. That is why is does not look right in the post.

```julia-auto
Code should look like this in a separate box.

```

> [@PSA: how to quote code with backticks](https://discourse.julialang.org/t/psa-how-to-quote-code-with-backticks/7530):
>
> This is a short post on how to use backticks (` and ```) to quote code, so it is easy to read. This post can be linked to new users who are confused by this feature. Why By quoting your code, you get a monospaced font (which preserves indentation) and syntax highlighting. This makes it easier to read your code and help you. Displayed code looks like this: function displayed\_code(x::Int, y::Int) if x \< y println("x is smaller") else println("or not") end end Inline…

---

_[View the full topic](https://discourse.julialang.org/t/plotting-data-showing-2-sets-of-data/107272)._
