cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • New to JMP? Join us Sept. 23-24 for the Early User Edition of Discovery Summit, tailor-made for new users. Register now for free!
  • Use World Cup data to build models, explore spatial relationships, and create informative visualizations in JMP. Register. July 17, 2 pm US Eastern Time.
  • Your voice matters! Tell us how you prefer to receive JMP updates, so we can tailor our communication to your needs. Take short survey.

Discussions

Solve problems, and share tips and tricks with other JMP users.
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.

Recommended Articles