BookmarkSubscribe
Choose Language Hide Translation Bar
tom_abramov
Community Trekker

How to color Oneway means compare circles in script?

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.

0 Kudos
1 REPLY 1

Re: How to color Oneway means compare circles in script?

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