Subscribe Bookmark RSS Feed

Independently adjust y-axis maximum for grouped overlay plots

jeff3928

Community Trekker

Joined:

Jun 29, 2012

The code below generates two plots. How can a user adjust a y-axis setting such as maximum for just one of the plots without the change cascading to both?


Open("$sample_data\Big Class.jmp");


Overlay Plot(


  X( :weight ),


  Y( :height ),


  Grouping( :sex ),


);


1 REPLY
ms

Super User

Joined:

Jun 23, 2011

I am not sure it is possible. If not, one alternative is to stack single overlay plots in a custom report.

Example:

nw = New Window("Big Class: w by h",

    V List Box(

        Overlay Plot(X(:weight), Y(:height), where(:sex == "F")),

        Overlay Plot(X(:weight), Y(:height), where(:sex == "M"))

    )

);

nw[Axisbox(1)] << Max(100);

nw[Axisbox(3)] << Min(25);