cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Don’t miss your chance to experience Discovery Summit Europe at our best available rate! Early bird registration through 31 Oct.
  • Image to Table JMP extension imports single or batch images as data tables. Useful to extract curves from pictures or convert image data to curve data to use in analyses like Functional Data Explorer. Download and install the extension.

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