cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Check out the JMP® Marketplace featured Capability Explorer add-in
Choose Language Hide Translation Bar
JamesNieh
Level I

How to move legend in survival plot

Hi, how do you move the legend in a survival plot? Survival plots cannot be made, it seems using Graph Builder, so the normal menu command to move the legend into the plot is not available. JMP Pro v12.1.0.

 

2 REPLIES 2
txnelson
Super User

Re: How to move legend in survival plot

By using the Display Tree capabilities within JMP, you can place the legend pretty much where you want to

txnelson_0-1656043553259.png

Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Reliability/Blenders.jmp" );

su = Survival( Y( :Time Cycles ), Censor( :Censor ), Grouping( :Group ) );

pbox = Report( su )[Picture Box( 2 )] << get picture();
pbox = Report( su )[Picture Box( 2 )] << delete;
Report( su )[axisbox( 2 )] << append( pbox );

This was run in JMP 12

 

Jim

Re: How to move legend in survival plot

Did you know that you can click the red triangle and select Save Estimates? A new data table appears and you can now make plots in Graph Builder.