Subscribe Bookmark RSS Feed

Writing subscripts or superscripts in graph labels

prince0026

Community Trekker

Joined:

Aug 9, 2012

How to write aubscripts and/or superscripts in graph labels? If anyone is having any idea, please help me out here !! This is really bugging since long.

Example: AB should be like AB

Thank You.

1 ACCEPTED SOLUTION

Accepted Solutions
Solution

Here's a way to add superscripts to graph axes labels:

  1. Set your font preference for AXIS to one that supports UNICODE (i.e. Arial Unicode MS). To do so, select File > Preferences, click on Fonts in the panel on the left, and then select Axis from the options that are displayed.  You can pick any UNICODE font.
  2. Run an analysis in the usual way.
  3. Edit one of the resulting labels and place your cursor where you want a subscript or superscript.
  4. While holding down the ALT-key on your keyboard, type the UNICODE associated with the desired superscript or subscript. For example, type 0179 while holding the ALT-key to get a superscript 3. The information on this particular code was obtained from:  Unicode Character 'SUPERSCRIPT THREE' (U+00B3)

You can search for additional codes at: http://www.fileformat.info/info/unicode/char/search.htm

5 REPLIES
wiebepo

Community Trekker

Joined:

Oct 10, 2011

There may be a work around available, depending on the letters&numbers needed in subscript/superscript. JMP is capable of displaying unicode characters. To display a specific unicode character, determine the code for it and then preceed it with "\!U". For example, water is H2O, but it would be best to display it with a subscript 2. Unicode for subscript 2 is "2082', so to get that effect, I can replace the 2 in H20 with "\!U2082". Here is an example:

newwindow("Water",panelbox("H\!U2082O"));

Consider modifying the fonts in preferences to one that includes unicode characters if the code displays a box instead of the desired subscript 2 symbol. Unfortunately, this solution does not work for all letters and numbers, since not all letters and numbers have a unicode subscript/superscript version.

prince0026

Community Trekker

Joined:

Aug 9, 2012

This is really strange. Did JMP developers not think about this? Other softwares (MATLAB, Origin, etc and even Excel) can let you do it pretty easily. I think JMP should provide easy fixes for this kind of trivial issues. Thanks anyway !! Probably have to think around it to address the issue some other way.

honeysmaks

Community Member

Joined:

May 13, 2013

Try pressing "Ctrl -" to bring up placeholders for a subscript and a super script. You can then edit those positions to get your desired effect.

jim_guenter

Community Member

Joined:

Apr 10, 2015

What? For me this does nothing. Neither does Ctrl+ or CtrlShift- or CtrlShift+. Is there really a way to make this work?

Solution

Here's a way to add superscripts to graph axes labels:

  1. Set your font preference for AXIS to one that supports UNICODE (i.e. Arial Unicode MS). To do so, select File > Preferences, click on Fonts in the panel on the left, and then select Axis from the options that are displayed.  You can pick any UNICODE font.
  2. Run an analysis in the usual way.
  3. Edit one of the resulting labels and place your cursor where you want a subscript or superscript.
  4. While holding down the ALT-key on your keyboard, type the UNICODE associated with the desired superscript or subscript. For example, type 0179 while holding the ALT-key to get a superscript 3. The information on this particular code was obtained from:  Unicode Character 'SUPERSCRIPT THREE' (U+00B3)

You can search for additional codes at: http://www.fileformat.info/info/unicode/char/search.htm