cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • See how to interactively organize and restructure data for analysis. Register for May 29 webinar, 2pm US ET.

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