cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

JMP Wish List

We want to hear your ideas for improving JMP. Share them here.
Choose Language Hide Translation Bar
0 Kudos

Add histogram next to the axes in the graph builder scatter plot

What inspired this wish list request? 

In ggplot2 it's very easy to show the histogram above and to the right of the scatter plot. Currently JMP lacks this functionality.

There are a few work arounds but they are not intuitive, or lack functionality. 

 

See post for more details

JMP community post 

What is the improvement you would like to see? 

mvanderaa1_1-1791530929598.png

 

 

Why is this idea important? 

better visualization

 

2 Comments
Status changed to: Acknowledged

Thank you @mvanderaa1 to send this request. We will discuss this internally and come back to you.

Status changed to: Acknowledged

Hello @mvanderaa1 , after asking our development, we have already a solution in place with a little effort. Would that be good enough?

Valerie_Nedbal_0-1791987856951.png

Open( "$SAMPLE_DATA/Iris.jmp" );

Graph Builder(
    Transform Column( "one", Nominal, Formula( 1 ) ),
    Size( 659, 525 ),
    Show Control Panel( 0 ),
    Legend Position( "Inside Right" ),
    Show Title( 0 ),
    Variables(
        X( :Sepal length ),
        X( :one ),
        Y( :one ),
        Y( :Sepal width ),
        Overlay( :Species )
    ),
    Relative Sizes( "X", [937 472] ),
    Relative Sizes( "Y", [210 370] ),
    Elements(
        Position( 1, 1 ),
        Histogram( X, Y, Legend( 6 ), Histogram Style( "Kernel Density" ) )
    ),
    Elements(
        Position( 1, 2 ),
        Points( X, Y, Legend( 1 ) ),
        Smoother( X, Y, Legend( 2 ) )
    ),
    Elements( Position( 2, 1 ) ),
    Elements(
        Position( 2, 2 ),
        Histogram( X, Y, Legend( 7 ), Histogram Style( "Kernel Density" ) )
    ),
    SendToReport(
        Dispatch( {}, {:one}, ScaleBox, {Label Row( Show Major Labels( 0 ) )} ),
        Dispatch( {}, {:one}, ScaleBox( 2 ), {Label Row( Show Major Labels( 0 ) )} ),
        Dispatch( {}, {:one, "Y title"}, TextEditBox, {Set Text( "" )} ),
        Dispatch( {}, {:one, "X title"}, TextEditBox, {Set Text( "" )} ),
        Dispatch( {}, "400", LegendBox,
            {Legend Position(
                {6, [3, 4, 5], 1, [-3, -3, -3], 2, [0, 1, 2], 7, [-3, -3, -3]}
            )}
        )
    )
);