# Number of plots in makie Axis object

**URL:** <https://discourse.julialang.org/t/number-of-plots-in-makie-axis-object/122337>\
**Category:** Visualization\
**Tags:** makie\
**Created:** [November 6, 2024, 2:02pm UTC](https://discourse.julialang.org/t/number-of-plots-in-makie-axis-object/122337 "2024-11-06T14:02:49Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![aris](https://avatars.discourse-cdn.com/v4/letter/a/258eb7/32.png) [@aris](https://discourse.julialang.org/u/aris)\
**Post date:** [November 6, 2024, 2:02pm UTC](https://discourse.julialang.org/t/number-of-plots-in-makie-axis-object/122337/1 "2024-11-06T14:02:49Z")

</div>

Using makie, if we type the name of an Axis object in the repl, we get something like:

```julia
Axis with 2 plots:
 ┣━ Scatter{Tuple{Vector{Point{2, Float64}}}}
 ┗━ Lines{Tuple{Vector{Point{2, Float64}}}}

```

Is there a way to get this information programatically?  
Specifically, I’d like to get the number of plots in the Axis at a given moment.

---

<div class="post-metadata">

**Author:** ![jules](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@jules](https://discourse.julialang.org/u/jules)\
**Post date:** [November 6, 2024, 2:24pm UTC](https://discourse.julialang.org/t/number-of-plots-in-makie-axis-object/122337/2 "2024-11-06T14:24:48Z")

</div>

`ax.scene.plots`

---

<div class="post-metadata">

**Author:** ![aris](https://avatars.discourse-cdn.com/v4/letter/a/258eb7/32.png) [@aris](https://discourse.julialang.org/u/aris)\
**Post date:** [November 6, 2024, 2:28pm UTC](https://discourse.julialang.org/t/number-of-plots-in-makie-axis-object/122337/3 "2024-11-06T14:28:25Z")

</div>

Perfect, thanks!

Would it be reasonable to document it here? [Axis | Makie](https://docs.makie.org/dev/reference/blocks/axis)

---

<div class="post-metadata">

**Author:** ![George9000](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/george9000/32/23619_2.png) [@George9000](https://discourse.julialang.org/u/George9000)\
**Post date:** [November 8, 2024, 5:47am UTC](https://discourse.julialang.org/t/number-of-plots-in-makie-axis-object/122337/4 "2024-11-08T05:47:29Z")

</div>

See documentation on [Makie scenes](https://docs.makie.org/dev/explanations/scenes#What-is-a-Scene?).
