# Axeslabel doesn't work when using Frame and FrameTicks,

I'm using FrameTicks and Frame to get a second y-axis. But then my axes labels disappear. I've solved it by using Framelabel instead, but was wondering why this happens, and if there is a solution where you can still use AxisLabel?

The labels show up in the first plot, but not in the second one.

F[x_] := 2 x

Plot[{F[x]}, {x, 1, 100},
AxesLabel -> {HoldForm[Subscript["R", \[Null] "⊥,max" \[Null]] [cm] ]} ]

Plot[{F[x]}, {x, 1, 100},
Frame -> {{True, True}, {True, True}},
FrameTicks -> {{All, All}, {All, None}},
AxesLabel -> {t, HoldForm[Subscript["R", \[Null] "⊥,max" \[Null]] [cm] ]} ]


Use PlotRangePadding to make enough room in the plot for the axes to appear.

Plot[2 x, {x, 1, 100},
Frame -> True,
FrameTicks -> {{All, All}, {All, None}},
{{Scaled[.11], Automatic}, {Scaled[.1], Automatic}},
AxesLabel -> {HoldForm[Subscript["R", "⊥,max"][cm]], t}]


• Maybe he wanted the labels the other way around, but the general idea works anyway (+1).
– Jens
Commented Jul 24, 2015 at 19:21
• @Jens. It's hard to say. The unframed plot has the HoldForm[Subscript["R", "\[UpTee],max"][cm]] label along the x-axis. I thought it best to retain that, so I put t on the y-axis. Commented Jul 24, 2015 at 19:25
• Indeed, you're probably right.
– Jens
Commented Jul 24, 2015 at 19:27

F[x_] := 2x