# MultipleAxesListPlot: second Axis-Label and problem with Labeled

**URL:** <https://community.wolfram.com/t/multipleaxeslistplot-second-axis-label-and-problem-with-labeled/17242>\
**Category:** Questions\
**Tags:** graphics-and-visualization\
**Created:** [December 21, 2020, 1:29pm UTC](https://community.wolfram.com/t/multipleaxeslistplot-second-axis-label-and-problem-with-labeled/17242 "2020-12-21T13:29:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tburgard](https://avatars.discourse-cdn.com/v4/letter/t/bc8723/32.png) [@tburgard](https://community.wolfram.com/u/tburgard)\
**Post date:** [December 21, 2020, 1:29pm UTC](https://community.wolfram.com/t/multipleaxeslistplot-second-axis-label-and-problem-with-labeled/17242/1 "2020-12-21T13:29:44Z")

</div>

Hi guys,  
i am new to Mathematica and want to plot some data with two Axes. I found the function MultipleAxesListPlot. But there are some problems when trying to Label the data.

The following Example of using the MultipleAxesListPlot is not working:

```
data1 = {{16, 6}, {20, 10}, {32, 61}, {44, 461}}; 
data2 = {{16, 0.514}, {20, 0.538}, {32, 0.613}, {44, 0.686}};

data1Labeled = Labeled[#, ToString[#[[2]]]] & /@ data1;
data2Labeled = Labeled[#, ToString[#[[2]]]] & /@ data2;

ResourceFunction["MultipleAxesListPlot"][{data1Labeled, data2Labeled}, 
 FrameLabel -> {"Punktabstand [\[Micro]m]", `enter code here` "Lebensdauer [\[Micro]s]"} ]

```

… while this one is working:

```
ResourceFunction["MultipleAxesListPlot"][{data1Labeled, data2}, 
 FrameLabel -> {"Punktabstand [\[Micro]m]", 
   "Lebensdauer [\[Micro]s]"} ]

```

I am wondering why the second dataset cant be Labeled…

And the second question is: Is there a possibility to add a Label to the second Axis?

Thank you for your help!  
Greetings,  
Tom

[MultipleAxesProblem.nb](https://community.wolfram.com/uploads/short-url/foz24YHgWmNRJtxkwtywxZFFbPg.nb) (47.9 KB)

---

<div class="post-metadata">

**Author:** ![rohitnamjoshi](https://avatars.discourse-cdn.com/v4/letter/r/f1d935/32.png) [@rohitnamjoshi](https://community.wolfram.com/u/rohitnamjoshi)\
**Post date:** [December 21, 2020, 2:25pm UTC](https://community.wolfram.com/t/multipleaxeslistplot-second-axis-label-and-problem-with-labeled/17242/2 "2020-12-21T14:25:07Z")

</div>

Hi Tom,

Looks like a bug in `MultipleAxesListPlot`. Use [`CombinePlots`](https://resources.wolframcloud.com/FunctionRepository/resources/CombinePlots) instead, it is much more versatile.

```
p1 = ListPlot[data1Labeled, Frame -> True];
p2 = ListPlot[data2Labeled, Frame -> True, PlotStyle -> Red, FrameStyle -> Red];

ResourceFunction["CombinePlots"][p1, p2,
  "AxesSides" -> "TwoY", 
  FrameLabel -> {"Punktabstand [\[Micro]m]", "Lebensdauer [\[Micro]s]", None, "ABC"}]

```

 ![10153plot.png](https://global.discourse-cdn.com/wolfram/original/3X/b/f/bfe13114084c281d6d820d7616c93086a675c940.png)
