I want to annotate a Plot3D or a Plot with the clause:
PlotLabel-> "c=" <> c
where c is a variable that has been assigned a numeric value. I get the error message,
StringJoin::string : String expected at position 2 in c = <> 150.
I have tried several other syntaxes, to no avail:
PlotLabel-> StringJoin["c=", c]
PlotLabel->"c=" <> StringForm[c]
PlotLabel-> StringJoin["c=", InputForm[c]]
Does anyone know know to do this in Mathematica?