<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Life Distribution - how to make the 2 plots in the same graph, one to show survival on, the other one not to show survival on? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Life-Distribution-how-to-make-the-2-plots-in-the-same-graph-one/m-p/394567#M64496</link>
    <description>&lt;P&gt;Maybe something like this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;//Your By-group analysis script.
obj = Life Distribution(
	SendToByGroup( Bygroup Default ),
	Y( :Y ),
	//other messages
	By( :Group )
);

//Get the display box trees of the two Life Distribution results.
rpt1 = report(obj[1]);
rpt2 = report(obj[2]);

//Get the correct frame boxes, send copy-paste messages.
//Finding the number in framebox(...) is the key. 
//The number is relative to the root of tree. Here rpt1 and rpt2 are two roots.
//And the frameboxes are the SECOND frameboxes. 
//The FIRST frameboxes relative to rpt1 and rpt1 are the Event Plot frames.
rpt1[framebox(2)] &amp;lt;&amp;lt; copy frame contents;
rpt2[framebox(2)] &amp;lt;&amp;lt; paste frame contents;

&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 18 Jun 2021 17:59:09 GMT</pubDate>
    <dc:creator>peng_liu</dc:creator>
    <dc:date>2021-06-18T17:59:09Z</dc:date>
    <item>
      <title>Life Distribution - how to make the 2 plots in the same graph, one to show survival on, the other one not to show survival on?</title>
      <link>https://community.jmp.com/t5/Discussions/Life-Distribution-how-to-make-the-2-plots-in-the-same-graph-one/m-p/392115#M64242</link>
      <description>&lt;P&gt;I have an interval censored data table, when I do Life distribution --&amp;gt; compare groups, it gave me Plot1; what I really want is Plot2, in order to do that, I have to do life distribution without compare groups, generate plot3 with separate EVO/PVO plots, change the EVO to show survival curve, manually copy frame contents of PVO plot and paste frame contents into the EVO plot to get plot2. it is very manual, is there a good way to&amp;nbsp;use scripts to generate Plot2?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="r30363_6-1623257090681.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/33432iB4308BF4A093FD45/image-size/medium?v=v2&amp;amp;px=400" role="button" title="r30363_6-1623257090681.png" alt="r30363_6-1623257090681.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;life distribution --&amp;gt; Compare groups&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="r30363_2-1623256666099.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/33427i5E6A69FE1331E80B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="r30363_2-1623256666099.png" alt="r30363_2-1623256666099.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Plot1&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="r30363_7-1623257694048.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/33438i62CCB8FAE1B4B4D3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="r30363_7-1623257694048.png" alt="r30363_7-1623257694048.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Plot2, left line is EVO with &lt;U&gt;show survival on&lt;/U&gt;, right plot is PVO&lt;FONT color="#FF0000"&gt; no&lt;/FONT&gt; &lt;U&gt;show survival on&lt;/U&gt;;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="r30363_5-1623257040929.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/33431i5C942C0BB8968315/image-size/medium?v=v2&amp;amp;px=400" role="button" title="r30363_5-1623257040929.png" alt="r30363_5-1623257040929.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;life distribution --&amp;gt; by EVO/PVO&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="r30363_3-1623256803812.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/33428iA4716B351A7AAF95/image-size/medium?v=v2&amp;amp;px=400" role="button" title="r30363_3-1623256803812.png" alt="r30363_3-1623256803812.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Plot3, EVO has &lt;U&gt;show survival on&lt;/U&gt;, PVO has &lt;U&gt;show survival off&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="r30363_4-1623256951888.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/33429i6BA2AA7BE71239AC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="r30363_4-1623256951888.png" alt="r30363_4-1623256951888.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 11 Jun 2023 11:14:50 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Life-Distribution-how-to-make-the-2-plots-in-the-same-graph-one/m-p/392115#M64242</guid>
      <dc:creator>r30363</dc:creator>
      <dc:date>2023-06-11T11:14:50Z</dc:date>
    </item>
    <item>
      <title>Re: Life Distribution - how to make the 2 plots in the same graph, one to show survival on, the other one not to show survival on?</title>
      <link>https://community.jmp.com/t5/Discussions/Life-Distribution-how-to-make-the-2-plots-in-the-same-graph-one/m-p/394567#M64496</link>
      <description>&lt;P&gt;Maybe something like this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;//Your By-group analysis script.
obj = Life Distribution(
	SendToByGroup( Bygroup Default ),
	Y( :Y ),
	//other messages
	By( :Group )
);

//Get the display box trees of the two Life Distribution results.
rpt1 = report(obj[1]);
rpt2 = report(obj[2]);

//Get the correct frame boxes, send copy-paste messages.
//Finding the number in framebox(...) is the key. 
//The number is relative to the root of tree. Here rpt1 and rpt2 are two roots.
//And the frameboxes are the SECOND frameboxes. 
//The FIRST frameboxes relative to rpt1 and rpt1 are the Event Plot frames.
rpt1[framebox(2)] &amp;lt;&amp;lt; copy frame contents;
rpt2[framebox(2)] &amp;lt;&amp;lt; paste frame contents;

&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 18 Jun 2021 17:59:09 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Life-Distribution-how-to-make-the-2-plots-in-the-same-graph-one/m-p/394567#M64496</guid>
      <dc:creator>peng_liu</dc:creator>
      <dc:date>2021-06-18T17:59:09Z</dc:date>
    </item>
  </channel>
</rss>

