# VegaLite plot two lines and plot over

**URL:** <https://discourse.julialang.org/t/vegalite-plot-two-lines-and-plot-over/47570>\
**Category:** New to Julia\
**Tags:** plotting, vega\
**Created:** [October 1, 2020, 4:41am UTC](https://discourse.julialang.org/t/vegalite-plot-two-lines-and-plot-over/47570 "2020-10-01T04:41:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![BMval](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/bmval/32/7647_2.png) [@BMval](https://discourse.julialang.org/u/BMval)\
**Post date:** [October 1, 2020, 4:41am UTC](https://discourse.julialang.org/t/vegalite-plot-two-lines-and-plot-over/47570/1 "2020-10-01T04:41:29Z")

</div>

I am new with Vega-lite.

1. Would you help me, just plot any two random lines on the one figure?

2. Can I plot figure over another figure? something like @vlplot!()

Thank you.

---

<div class="post-metadata">

**Author:** ![oheil](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/oheil/32/220745_2.png) [@oheil](https://discourse.julialang.org/u/oheil)\
**Post date:** [October 1, 2020, 8:06am UTC](https://discourse.julialang.org/t/vegalite-plot-two-lines-and-plot-over/47570/2 "2020-10-01T08:06:20Z")

</div>

> [@BMval](#):
>
> Would you help me, just plot any two random lines on the one figure?

[https://www.queryverse.org/VegaLite.jl/stable/examples/examples\_line\_charts/#Multi-Series-Line-Chart-1](https://www.queryverse.org/VegaLite.jl/stable/examples/examples_line_charts/#Multi-Series-Line-Chart-1)

> [@BMval](#):
>
> Can I plot figure over another figure? something like @vlplot!()

This depends, but e.g.

[https://www.queryverse.org/VegaLite.jl/stable/examples/examples\_advancedcalculations/#Layered-Histogram-and-Cumulative-Histogram-1](https://www.queryverse.org/VegaLite.jl/stable/examples/examples_advancedcalculations/#Layered-Histogram-and-Cumulative-Histogram-1)
