# R's pairs scatter plot in Julia

**URL:** <https://discourse.julialang.org/t/rs-pairs-scatter-plot-in-julia/46254>\
**Category:** Statistics\
**Tags:** plotting\
**Created:** [September 8, 2020, 10:25am UTC](https://discourse.julialang.org/t/rs-pairs-scatter-plot-in-julia/46254 "2020-09-08T10:25:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![maxpiot](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/maxpiot/32/17531_2.png) [@maxpiot](https://discourse.julialang.org/u/maxpiot)\
**Post date:** [September 8, 2020, 10:25am UTC](https://discourse.julialang.org/t/rs-pairs-scatter-plot-in-julia/46254/1 "2020-09-08T10:25:50Z")

</div>

Hi all,

I’m looking for a convenient way of recreating the R’s pairwise scatter plots ([Scatter Plot Matrices - R Base Graphs - Easy Guides - Wiki - STHDA](http://www.sthda.com/english/wiki/scatter-plot-matrices-r-base-graphs)) in Julia.

I’ve come across the corrplot function in the StatsPlots.jl package, but ideally I’d like to create plots looking like the examples in the link above. Any ideas?

Thanks!

---

<div class="post-metadata">

**Author:** ![xiaodai](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/xiaodai/32/15937_2.png) [@xiaodai](https://discourse.julialang.org/u/xiaodai)\
**Post date:** [September 8, 2020, 10:28am UTC](https://discourse.julialang.org/t/rs-pairs-scatter-plot-in-julia/46254/2 "2020-09-08T10:28:55Z")

</div>

Some example codes there by composing `layout` with `plot`

[https://github.com/JuliaPlots/StatsPlots.jl/issues/217](https://github.com/JuliaPlots/StatsPlots.jl/issues/217)

---

<div class="post-metadata">

**Author:** ![maxpiot](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/maxpiot/32/17531_2.png) [@maxpiot](https://discourse.julialang.org/u/maxpiot)\
**Post date:** [September 11, 2020, 1:35pm UTC](https://discourse.julialang.org/t/rs-pairs-scatter-plot-in-julia/46254/3 "2020-09-11T13:35:29Z")

</div>

Great, thanks!
