I want to use Text to add some labels to a graph and was wondering if it is possible to use expressions inside Text? Here is a MWE of what I am trying.
field = 1.45;
Plot[x, {x, 1, 3}, Epilog -> {Style[Text["H = " field " T", {1.5, 2.5}], 12]}]
The problem is that this adds 1.45H=T
to the plot and I want it to add H=1.45T
. I have tried converting field
to a string first and using that instead, but the output is the same.