Hi @hogi ,
Yes, it can be a bit challenging to do it, but it is possible
Here is the result on JMP :
And here is the script to realize it on JMP (with the "Big Class" dataset like in your example):
Graph Builder(
Size( 638, 610 ),
Show Control Panel( 0 ),
Variables( X( :X ), X( :height ), Y( :height ), Y( :weight ), Overlay( :sex ) ),
Relative Sizes( "X", [157 427] ),
Relative Sizes( "Y", [114 246] ),
Elements( Position( 1, 1 ) ),
Elements( Position( 1, 2 ), Histogram( X, Y, Legend( 44 ) ) ),
Elements( Position( 2, 1 ), Histogram( X, Y, Legend( 42 ) ) ),
Elements(
Position( 2, 2 ),
Points( X, Y, Legend( 36 ) ),
Smoother( X, Y, Legend( 45 ) )
),
SendToReport(
Dispatch(
{},
"X",
ScaleBox,
{Label Row(
{Automatic Font Size( 0 ), Automatic Tick Marks( 0 ),
Show Major Labels( 0 ), Show Major Ticks( 0 ), Show Minor Ticks( 0 )
}
)}
),
Dispatch(
{},
"height",
ScaleBox( 2 ),
{Label Row(
{Automatic Font Size( 0 ), Automatic Tick Marks( 0 ),
Show Major Labels( 0 ), Show Major Ticks( 0 ), Show Minor Ticks( 0 )
}
)}
),
Dispatch(
{},
"400",
ScaleBox,
{Legend Model(
42,
Base( 0, 0, 0, Item ID( "F", 1 ) ),
Base( 1, 0, 0, Item ID( "M", 1 ) )
), Legend Model(
36,
Base( 0, 0, 0, Item ID( "F", 1 ) ),
Base( 1, 0, 0, Item ID( "M", 1 ) )
)}
),
Dispatch( {}, "X title", TextEditBox, {Set Text( "" )} ),
Dispatch( {}, "Y title", TextEditBox, {Set Text( "" )} ),
Dispatch(
{},
"400",
LegendBox,
{Legend Position(
{44, [-1, -1], 42, [-1, -1], 36, [-1, -1], 45, [0, 1]}
)}
)
)
);
The "trick" is to create a dummy variable column "X" in your datatable (only with value "1" for example), to realize the subplot in the left corner. You can then hide all the graphs ticks and values. On the X axis, you have two variables : "X" and "height", and on the Y axis, you have two variables "height" and "weight".
To resize an element in the graph independently, just move your mouse on the axis until you have a double arrow on the diagonal, and then click and move this double arrow to resize the axis/element you want.
I hope this will help you,
PS: If you don't know it already, I highly recommend to see the tips and tricks on Graph Builder done in the serie "Pictures from the Gallery" by @scwise (Scott Wise), always interesting and insightful !
Victor GUILLER
"It is not unusual for a well-designed experiment to analyze itself" (Box, Hunter and Hunter)