cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Submit your abstract to the call for content for Discovery Summit Americas by April 23. Selected abstracts will be presented at Discovery Summit, Oct. 21- 24.
Discovery is online this week, April 16 and 18. Join us for these exciting interactive sessions.
Choose Language Hide Translation Bar
XanGregg
Staff
Reply All: Alphabetic Markers

Someone recently asked me about using letters instead of built-in symbols in JMP scatter plots. In case others are wondering the same thing, here's the long answer.

In addition to the 32 built-in symbols you can use any character as a marker for a scatter plot.The easiest way to set a letter as the symbol for a row is with the "Other..." item in the Marker submenu. Here's an example with Big Class. After selecting all males, right click in the row-state area to get:

8133_marker1.png

That brings up a dialog where you can type a letter.

8134_marker2.png

Setting the male rows to "M" and the female rows to "F" yields:

8135_marker3.png

And the scatter plot looks like:

8136_marker4.png

Any character in the current Marker Font (set in Preferences) is allowed, so there is a wide variety of Unicode characters available, and you can change the font preference to a symbol font for even more specialty options. Special characters can be tricky to type from the keyboard, but you can usually find them in a Unicode table and paste them into the dialog.

You can also set them through scripting. Here's a scripting example that uses the Mars/Venus male/female symbols, showing two different techniques for specifying the character.


dt = Open( "$SAMPLE_DATA/Big Class.jmp" );


r = dt << Select Where( :sex == "M" );


r << Markers( "\!U2642" ); // hexadecimal


r = dt << Select Where( :sex == "F" );


r << Markers( "♀" ); // actual character


Data table:

8137_marker5.png

Scatter plot:

8138_marker6.png

Last Modified: Oct 18, 2016 6:42 PM