Subscribe Bookmark RSS Feed

How to set Fit Y by X Group to Vertical Layout

rab2013

Community Trekker

Joined:

Feb 2, 2013

Hi,

I am struggling with scripting a Fit Y by X Group to display graphs vertically instead of horizontally.  Any suggestions?  Example script is below.  I am using JMP10.

Thanks!

/*

bigClass = Open( "$SAMPLE_DATA/Big Class.JMP" );

one = bigClass << Oneway(

  Y( :height, :weight ),

  X( :age ),

);

// How can I change the Oneway layout to vertical?

(one << Report)[Outline Box( 1 )] << Horizontal( 0 );

*/

1 ACCEPTED SOLUTION

Accepted Solutions
Solution

Hello,

You have the right idea but it is the top-most OutlineBox that controls the layout.  The following demonstrates how to access the parent OutlineBox to set the layout to vertical:

    (Report( one[1] ) << Parent)[Outline Box( 1 )] << SetHorizontal( 0 );

I hope that helps!

Wendy Murphrey

Wendy
2 REPLIES
Solution

Hello,

You have the right idea but it is the top-most OutlineBox that controls the layout.  The following demonstrates how to access the parent OutlineBox to set the layout to vertical:

    (Report( one[1] ) << Parent)[Outline Box( 1 )] << SetHorizontal( 0 );

I hope that helps!

Wendy Murphrey

Wendy
rab2013

Community Trekker

Joined:

Feb 2, 2013

Works great.  Thanks!