Try the Materials Informatics Toolkit, which is designed to easily handle SMILES data. This and other helpful add-ins are available in the JMP® Marketplace
I frequently need to use negative exponents to express units like grams per cubic centimeter g cm^-3 and so on in axis titles, labels etc. How can I do this in JMP? I've found no satisfying answer to this question online. Is there a scripting workaround?
Unicode has numeric superscript and subscript characters, which might be enough in this case, assuming your font supports those characters. For example, "g cm⁻³". The superscripts: ⁰ ¹ ² ³ ⁴ ⁵ ⁶ ⁷ ⁸ ⁹ ⁺ ⁻ ⁼ ⁽ ⁾.
It would indeed be enough if it actually worked. JMP does not recognize keyboard Unicode, but it does ASCII. So I can get positive exponents with ACSII but not negatives because ASCII has no code for these. Would be nice of JMP developers to provide sub- and superscript options in the font dialog like everyone else.
It's kind of clunky and I don't know how robust this would be, but in a pinch you can use the list of exponents in Xan's post as a sort of pallet to copy from and paste into, say, a JMP column name.