# Plots (pgfplotsx) change label from Column -\> Line

**URL:** <https://discourse.julialang.org/t/plots-pgfplotsx-change-label-from-column-line/50009>\
**Category:** General Usage\
**Tags:** plots, pgfplotsx\
**Created:** [November 11, 2020, 11:15pm UTC](https://discourse.julialang.org/t/plots-pgfplotsx-change-label-from-column-line/50009 "2020-11-11T23:15:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![JosephPollacco](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/josephpollacco/32/51404_2.png) [@JosephPollacco](https://discourse.julialang.org/u/JosephPollacco)\
**Post date:** [November 11, 2020, 11:15pm UTC](https://discourse.julialang.org/t/plots-pgfplotsx-change-label-from-column-line/50009/1 "2020-11-11T23:15:53Z")

</div>

A great thanks for the introduction of PgfPlotsX into Plots making the plotting accessible to everybody.

I would need to transform the Label from 1 column to multiple column. This feature is particularly useful when using multiple plots. This can be easily done in PgfPlots but I do not know how to perform this task in PgfPlotsX. The code in PgfPlots is as:

```julia
style="legend columns = -1"

```

I would like to transform by using image from https://nbviewer.jupyter.org/github/JuliaTeX/PGFPlots.jl/blob/master/doc/PGFPlots.ipynb

![Plot1](https://global.discourse-cdn.com/julialang/original/3X/0/d/0dde515706d036a220f9b874e713b9273e987c2e.png)

Into  
 ![Plot 2](https://global.discourse-cdn.com/julialang/original/3X/0/8/0888433a399decc7896b2c05eca7615d27098d6f.png)

Many thanks for any help you may provide,  
Joseph

---

<div class="post-metadata">

**Author:** ![BeastyBlacksmith](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/beastyblacksmith/32/4741_2.png) [@BeastyBlacksmith](https://discourse.julialang.org/u/BeastyBlacksmith)\
**Post date:** [November 11, 2020, 11:17pm UTC](https://discourse.julialang.org/t/plots-pgfplotsx-change-label-from-column-line/50009/2 "2020-11-11T23:17:51Z")

</div>

That is currently work in progress: [https://github.com/JuliaPlots/Plots.jl/pull/2854](https://github.com/JuliaPlots/Plots.jl/pull/2854)

---

<div class="post-metadata">

**Author:** ![JosephPollacco](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/josephpollacco/32/51404_2.png) [@JosephPollacco](https://discourse.julialang.org/u/JosephPollacco)\
**Post date:** [November 11, 2020, 11:32pm UTC](https://discourse.julialang.org/t/plots-pgfplotsx-change-label-from-column-line/50009/3 "2020-11-11T23:32:05Z")

</div>

A great thanks for your hard work 😃
