cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • New to JMP? Join us Sept. 23-24 for the Early User Edition of Discovery Summit, tailor-made for new users. Register now for free!
  • Your voice matters! Tell us how you prefer to receive JMP updates, so we can tailor our communication to your needs. Take short survey.
  • See how to access JMP Marketplace - and - find, create & share add-ins to extend your JMP. Watch video.

Discussions

Solve problems, and share tips and tricks with other JMP users.
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!

Recommended Articles