superscript in plot in r code example
Example: how to insert subscript in plots in r
plot(1,1, main=expression('title'^2)) #superscript
plot(1,1, main=expression('title'[2])) #subscript
expression("Global Irradiance (W/m"^"2"*")")
plot(1,1, main=expression('title'^2)) #superscript
plot(1,1, main=expression('title'[2])) #subscript
expression("Global Irradiance (W/m"^"2"*")")