Include text control characters in plotmath expressions
Is there any way to get control characters for text strings, e.g. "\n" for newline evaluated inside a plotmath expression, or vice versa. In the following example, I would like to combine: some character text text control character (newline) substitute a variable name include a plotmath expression After reading this question I can get most of the way there with substitute, but the newline character is not evaluated. I am now going round in circles and confusing myself with plotmath , parse , bquote and substitute . In the help page for plotmath it says Control characters (e.g. \n) are not