# More space between the ordinate axis ans plot labels

I have this graphics. All I want is more place like a space or interval between labels and the ordinate azis. How could I do that?

Manipulate[
Plot[{E^(-k t) , E^(-k t) (-1 + E^(k t)) + 0.1}, {t, 0, 10},
PlotStyle -> {Red, Blue},
PlotLabels -> {Style["u[t]", 16], Style["x(t)", 16]},
AxesLabel -> {Style["t", Bold, 16], Style["x(t),u(t)", Bold, 16]},
TicksStyle -> {{FontSize -> 16}, {FontSize -> 16}}], {k, 0, 2}]


Thanks!

• Try Style["x(t),u(t)\n", Bold, 16] Nov 22, 2019 at 12:01
• Great! Thanks a lot! Nov 22, 2019 at 12:39
• You're welcome, it's only a simple workaround. Nov 22, 2019 at 13:27

Notice how much simpler the code can be if you were use the BaseStyle option to set the font size. Also, notice that the code below does not show the spacing problem you are experience. I am running V11.3.0 on MacOS 10.13.4 (High Sierra).

Manipulate[
Plot[{E^(-k t), E^(-k t) (-1 + E^(k t)) + 0.1}, {t, 0, 10},
BaseStyle -> {FontSize -> 16},
PlotStyle -> {Red, Blue},
PlotLabels -> {"u[t]", "x(t)"},
AxesLabel -> {"t", "x(t), u(t)"}],
{k, 0, 2, .1, Appearance -> "Labeled"}]


• Sadly, this is how it looks like on windows: imgur.com/GrWenvn.png . +1 for BaseStyle, that thing is pretty usefull. Nov 25, 2019 at 4:32

You can wrap your label inside Pane and specify FrameMargins for it.

Manipulate[
Plot[
{E^(-k t), E^(-k t) (-1 + E^(k t)) + 0.1}, {t, 0, 10}
, PlotStyle -> {Red, Blue}
, PlotLabels -> {Style["u[t]", 16], Style["x(t)", 16]}
, AxesLabel -> {Style["t", Bold, 16],
Pane[Style["x(t),u(t)", Bold, 16],
FrameMargins -> {{0, 0}, {20, 0}}]}
, TicksStyle -> {{FontSize -> 16}, {FontSize -> 16}}
]
, {k, 0, 2}
]