# Plots.jl: using push! to add a new scatter plot series with a specified color

**URL:** <https://discourse.julialang.org/t/plots-jl-using-push-to-add-a-new-scatter-plot-series-with-a-specified-color/15206>\
**Category:** New to Julia\
**Created:** [September 20, 2018, 12:09am UTC](https://discourse.julialang.org/t/plots-jl-using-push-to-add-a-new-scatter-plot-series-with-a-specified-color/15206 "2018-09-20T00:09:00Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![dpsanders](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/dpsanders/32/3573_2.png) [@dpsanders](https://discourse.julialang.org/u/dpsanders)\
**Post date:** [September 20, 2018, 1:33am UTC](https://discourse.julialang.org/t/plots-jl-using-push-to-add-a-new-scatter-plot-series-with-a-specified-color/15206/3 "2018-09-20T01:33:58Z")

</div>

(Please [quote your code](https://discourse.julialang.org/t/psa-how-to-quote-code-with-backticks/7530).)

Do you mean

```julia
plt = scatter(x, y, color=“red”)
scatter!(a, b, c=:blue) # c is abbreviation for colour

```

Functions with `!` at the end add to a pre-existing plot.

---

_[View the full topic](https://discourse.julialang.org/t/plots-jl-using-push-to-add-a-new-scatter-plot-series-with-a-specified-color/15206)._
