cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Browse apps to extend the software in the new JMP Marketplace
Choose Language Hide Translation Bar
GiuseppeC
Level II

New graph

Dear All,

 

Is it possible to reproduce the attached graph with JMP?
Personally, I don't have much programming skills, however, since the JMP graphics are very defined, it would be a nice graphic to include in scientific publications.
Thank you
Giuseppe 

4 REPLIES 4
Craige_Hales
Super User

Re: New graph

You can make similar-looking graphs with Graph Builder without writing JSL. What aspects of the graph are important to you? (sizes, positions, colors, decorations, labels, statistics?)

 

Capture.PNG

The script GraphBuilder saved can be reused.


Graph Builder(
    Size( 839, 427 ),
    Show Control Panel( 0 ),
    Y Group Edge( "Left" ),
    Title Fill Color( "Medium Light Gray" ),
    Title Frame Color( "Medium Light Gray" ),
    Level Fill Color( {217, 217, 217} ),
    Level Frame Color( "Medium Light Gray" ),
    Level Spacing Color( "Medium Light Gray" ),
    Variables( X( :height ), X( :weight ), Y( :sex ), Group Y( :age ) ),
    Elements(
        Position( 1, 1 ),
        Bar(
            X,
            Y,
            Legend( 23 ),
            Packed Placement( "Separate stack" ),
            Summary Statistic( "% of Total" ),
            Label( "Label by Value" )
        )
    ),
    Elements(
        Position( 2, 1 ),
        Box Plot( X, Y, Legend( 25 ), Width Proportion( 0.3 ) )
    ),
    SendToReport(
        Dispatch(
            {},
            "graph title",
            TextEditBox,
            {Set Text( "Big Class Information" )}
        ),
        Dispatch(
            {},
            "Y title",
            TextEditBox,
            {Text Color( 0 ), Rotate Text( "Left" ), Font Color( 0 ), Set Text( "" )
            }
        ),
        Dispatch( {}, "Graph Builder", FrameBox, {Background Color( 36 )} ),
        Dispatch( {}, "Graph Builder", FrameBox( 2 ), {Background Color( 36 )} ),
        Dispatch( {}, "Graph Builder", FrameBox( 3 ), {Background Color( 68 )} ),
        Dispatch( {}, "Graph Builder", FrameBox( 4 ), {Background Color( 68 )} ),
        Dispatch( {}, "Graph Builder", FrameBox( 5 ), {Background Color( 36 )} ),
        Dispatch( {}, "Graph Builder", FrameBox( 6 ), {Background Color( 36 )} ),
        Dispatch( {}, "Graph Builder", FrameBox( 7 ), {Background Color( 67 )} ),
        Dispatch( {}, "Graph Builder", FrameBox( 8 ), {Background Color( 67 )} ),
        Dispatch( {}, "Graph Builder", FrameBox( 9 ), {Background Color( 35 )} ),
        Dispatch( {}, "Graph Builder", FrameBox( 10 ), {Background Color( 35 )} ),
        Dispatch( {}, "Graph Builder", FrameBox( 11 ), {Background Color( 67 )} ),
        Dispatch( {}, "Graph Builder", FrameBox( 12 ), {Background Color( 67 )} )
    )
);
Craige
GiuseppeC
Level II

Re: New graph

Thanks for the reply and above all for the effort. The graph that is shown, however, is not the same as the one I had proposed. In your graph there are box plots, while in the graph that I would have liked there are confidence intervals and risks. Your graph is interesting, but not usable for research purposes where relative risks or odds ratios are analysed, etc.. Giuseppe
Byron_JMP
Staff

Re: New graph

The risk difference plot is in JMP Clinical

 

https://www.jmp.com/support/downloads/JMPC170_documentation/Content/JMPCUserGuide/AERiskReport.htm?H...

JMP Systems Engineer, Health and Life Sciences (Pharma)
GiuseppeC
Level II

Re: New graph

Thanks Byron_JMP,

 

not having JMP Clinical I never imagined that this possibility existed.

 

Thank you

 

Giuseppe