Learn how to build custom Python data connectors and further customize JMP’s Data Connector Framework with the Python Data Connector Demo, available now in the JMP Marketplace!
See how to move from signal modeling to system modeling at the first JMP Aerospace Analytics webinar. Register. June 18, 1 p.m. US Eastern Time.
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.