# StatsPlot -- axes labels overwrite each other

**URL:** <https://discourse.julialang.org/t/statsplot-axes-labels-overwrite-each-other/70539>\
**Category:** Visualization\
**Tags:** statsplots\
**Created:** [October 28, 2021, 9:30am UTC](https://discourse.julialang.org/t/statsplot-axes-labels-overwrite-each-other/70539 "2021-10-28T09:30:57Z")\
**Posts on this page:** 1\
**Showing post:** 12

<div class="post-metadata">

**Author:** ![rafael.guerra](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rafael.guerra/32/216610_2.png) [@rafael.guerra](https://discourse.julialang.org/u/rafael.guerra)\
**Post date:** [October 29, 2021, 7:35am UTC](https://discourse.julialang.org/t/statsplot-axes-labels-overwrite-each-other/70539/12 "2021-10-29T07:35:08Z")

</div>

> [@BLI](#):
>
> I’ve got an array plot (layout = (3,2))…
> 
> - Is it possible to extract individual plots from this layout, and operate on the individual plot?

Check this [post](https://discourse.julialang.org/t/subplots-in-plots-jl-with-individual-axis-labels/8462/4).

First do `p.spmap` to see what you’ve got. In case of `p = corrplot(...)` there are 16 subplots (4x4):

```julia
julia> p.spmap
Dict{Any, Plots.Subplot} with 16 entries:
  Symbol("##976") => Subplot{4}
  Symbol("##980") => Subplot{8}
  Symbol("##988") => Subplot{16}
  Symbol("##983") => Subplot{11}
  Symbol("##986") => Subplot{14}
  Symbol("##978") => Subplot{6}
  Symbol("##979") => Subplot{7}
  Symbol("##984") => Subplot{12}
  Symbol("##974") => Subplot{2}
 ⋮ => ⋮

```

To access the `ylims` of a given subplot, do:

```julia
julia> ylims(p.spmap[Symbol("##976")])
(1.5123100000000003, 1.51233)

```

---

_[View the full topic](https://discourse.julialang.org/t/statsplot-axes-labels-overwrite-each-other/70539)._
