I've got this plot for instance.
Plot[x, {x, 0, 5}, Frame -> True]
how can I insert a text on the axis, for exapmple between 1 and 2 I want to write "a"
like this:
This is the new problem:
I've got this plot for instance.
Plot[x, {x, 0, 5}, Frame -> True]
how can I insert a text on the axis, for exapmple between 1 and 2 I want to write "a"
like this:
This is the new problem:
another possibility
p = Plot[x, {x, 0, 5}, Frame -> True, PlotRangeClipping -> False,
ImagePadding -> 20,
Epilog -> Style[Text["Tid", {1.5, -.35}, {0, 1}], Red]]
Plot[x, {x, 0, 5},
Frame -> True,
FrameTicks ->
{{Automatic, None}, {{1, {1.5, "a"}, 2, 3, 4, 5}, None}}]
With some styling options:
Plot[x, {x, 0, 5},
Frame -> True,
FrameTicks ->
{{Automatic, None}, {{1, {1.5, Style["a", Bold, Blue, 14]}, 2, 3, 4, 5}, None}},
GridLines -> {Range[5], Automatic}]