Subscript in label

Just to add to Jules’ answer, lately I have found it useful to define some rich text elements early on so that it’s easy to include them later on, e.g.:

CO2 = rich("CO", subscript("2"))
ax = Axis(f[1,1], xlabel = rich("Time since start of ", CO2, " injection"), ylabel = "Temperature [°C]")

gives something like

2 Likes