Subscribe Bookmark RSS Feed

How to color Oneway means compare circles in script?

tom_abramov

Community Trekker

Joined:

Oct 13, 2015

I would like to know how can I set the colors of the oneway circles and X-Axis labels like in the manual way.

I mean, to choose one of the circles and the other will be colored automatically.

Thanks.

1 REPLY
michael_jmp

Staff

Joined:

Jun 23, 2011

I think you should be able to do this by sending the "Select Group()" message to the Oneway report object. Here's an example:

dt = open("$SAMPLE_DATA\Big Class.jmp");

ow = dt << Oneway(

  Y( :height ),

  X( :age ),

  All Pairs( 1 ),

  Comparison Circles( 1 ),

  SendToReport( Dispatch( {}, "Means Comparisons", OutlineBox, {Close( 1 )} ) )

);

ow << Select Group( 12 );

Michael Crotty
Sr Statistical Writer
JMP Development