This is a test version of Biostars. For the public version, visit https://www.biostars.org.
How to set subscript in R plot?

Hi. I'm ploting a pca in R, but I don't know how to format subscripts to the names of environmental variables in the ordination plot, someone can help me?

Cheers

r

Hi, I need subscript NO3 in plot, not in the x or y title, like this; Like this

Then use the text() function to add text to a plot at xy coordinates. However, if this is a one-off plot you need to do, I think is going to be easier to save the graph as pdf and edit the numbers manually in, say, Inkscape, especially if you have numbers that should be subscripted and others that shouldn't.

Hello Daniel C.!

We believe that this post does not fit the main topic of this site.

This is a pure R question. Please check stackoverflow.

For this reason we have closed your question. This allows us to keep the site focused on the topics that the community can help with.

If you disagree please tell us why in a reply below, we'll be happy to talk about it.

Cheers!

0 answers

No answers yet.

Log in to answer this question.