In Julia, I have declared a variable, say, x = 3.5. Now I want to include this variable inside some annotation of a plot using PGFPlotsX.
x = 3.5
using PGFPlotsX
@pgf Axis(
plot(
Table(
),
),
raw"node[anchor = south west] at (.3,.3){$x = <variable name i.e., x >$}"
)
What should be the appropriate syntax within the $$ inside the node? I want to avoid hard-coding the value, 3.5, of x inside the node.