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
rab2013
Level I

How to set Fit Y by X Group to Vertical Layout

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

Re: How to set Fit Y by X Group to Vertical Layout

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

View solution in original post

2 REPLIES 2

Re: How to set Fit Y by X Group to Vertical Layout

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
Level I

Re: How to set Fit Y by X Group to Vertical Layout

Works great.  Thanks!