# How do I add a group title to PGFPlotsX?

**URL:** <https://discourse.julialang.org/t/how-do-i-add-a-group-title-to-pgfplotsx/94828>\
**Category:** Visualization\
**Tags:** pgfplotsx\
**Created:** [February 18, 2023, 10:41am UTC](https://discourse.julialang.org/t/how-do-i-add-a-group-title-to-pgfplotsx/94828 "2023-02-18T10:41:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ahmed\_Salih](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ahmed_salih/32/206579_2.png) [@Ahmed\_Salih](https://discourse.julialang.org/u/Ahmed_Salih)\
**Post date:** [February 18, 2023, 10:41am UTC](https://discourse.julialang.org/t/how-do-i-add-a-group-title-to-pgfplotsx/94828/1 "2023-02-18T10:41:16Z")

</div>

Hello!

Suppose I have the code from the doc, [https://kristofferc.github.io/PGFPlotsX.jl/stable/examples/axislike/:](https://kristofferc.github.io/PGFPlotsX.jl/stable/examples/axislike/:)

```julia
x = range(0; stop =2*pi, length = 100)
@pgf GroupPlot(
    {
        group_style =
        {
            group_size="2 by 1",
            xticklabels_at="edge bottom",
            yticklabels_at="edge left"
        },
        no_markers
    },
    {},
    PlotInc(Table(x, sin.(x))),
    PlotInc(Table(x, sin.(x .+ 0.5))),
    {},
    PlotInc(Table(x, cos.(x))),
    PlotInc(Table(x, cos.(x .+ 0.5))))

```

Which produces:

![image](https://global.discourse-cdn.com/julialang/original/3X/6/b/6ba07843cc33a69ff373e2b64ee791fa9e7513ca.png)

How do I add a group title on top of it, similar to how I could use “plot\_title”?

Kind regards
