cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Learn how to build custom Python data connectors and further customize JMP’s Data Connector Framework with the Python Data Connector Demo, available now in the JMP Marketplace!
  • See how to move from signal modeling to system modeling at the first JMP Aerospace Analytics webinar. Register. June 18, 1 p.m. US Eastern Time.

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