I am struggling with AxesLabel
for a plot. I want to label the axis with a variable name and a unit; where the variable is italicized and the unit keeps using a plain font.
To demonstrate, I would like to generate A [1/m] using the command:
AxesLabel -> { Style[ "A", Italic, 16] Style[ "[1/m]", 16] }
but it returns [1/m] *A*
.
AxesLabel -> {RowBox[{Style["A", Italic, 16] , " ", Style["[1/m]", 16]} ] // DisplayForm, TraditionalForm[y[x]]}
$\endgroup$AxesLabel -> { Row[{Style[ "A", Italic, 16], Style[ "[1/m]", 16]}] }
. Try it. $\endgroup$