<?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: Graph Builder: Connect points AND show regression line in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Graph-Builder-Connect-points-AND-show-regression-line/m-p/64686#M34242</link>
    <description>&lt;P&gt;Then do the graph as you did in your first discussion.&amp;nbsp; Add Animal as an overlay column.&amp;nbsp; Click on the graph and select Add.&amp;nbsp; Choose to add a Line.&amp;nbsp; On the left side of the window, go to the the properties for the new line.&amp;nbsp; Expand the "Variables" section, and uncheck Overlay Animal.&lt;/P&gt;</description>
    <pubDate>Sat, 28 Jul 2018 20:25:51 GMT</pubDate>
    <dc:creator>txnelson</dc:creator>
    <dc:date>2018-07-28T20:25:51Z</dc:date>
    <item>
      <title>Graph Builder: Connect points AND show regression line</title>
      <link>https://community.jmp.com/t5/Discussions/Graph-Builder-Connect-points-AND-show-regression-line/m-p/64670#M34235</link>
      <description>&lt;P&gt;For each animal, I want to connect the three points showing its weight change (see the black points), but I also want to show the regression line. If I "overlay" all animals, I'm losing the option to calculate regression across all "overlays". The concept of "overlaying" different graphs doesn't seem to fit well with a comprehensive analysis of&amp;nbsp;all animals in a study. Neither does the concept of a "parallel plot", when&amp;nbsp;the x-axis is&amp;nbsp;not different scales, but different time points of the same variable.&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="NoLines.JPG" style="width: 964px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/11736iDEC6E1427AB53DFB/image-size/large?v=v2&amp;amp;px=999" role="button" title="NoLines.JPG" alt="NoLines.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 28 Jul 2018 16:34:39 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Graph-Builder-Connect-points-AND-show-regression-line/m-p/64670#M34235</guid>
      <dc:creator>Knut</dc:creator>
      <dc:date>2018-07-28T16:34:39Z</dc:date>
    </item>
    <item>
      <title>Re: Graph Builder: Connect points AND show regression line</title>
      <link>https://community.jmp.com/t5/Discussions/Graph-Builder-Connect-points-AND-show-regression-line/m-p/64672#M34236</link>
      <description>&lt;P&gt;You can fix your graph by changing the Week column to a continuous variable, and then overlaying Animals, and then adding a second line, and ploting it through the mean, but removing the Overlay variable from the definition.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2line.PNG" style="width: 964px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/11737i67DCC6E35BE2343A/image-size/large?v=v2&amp;amp;px=999" role="button" title="2line.PNG" alt="2line.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;names default to here(1);
dt = New Table( "Example",
	Add Rows( 30 ),
	New Script(
		"Source",
		Data Table( "big class" ) &amp;lt;&amp;lt; Concatenate(
			Data Table( "big class" ),
			Data Table( "big class" )
		)
	),
	New Column(
		["en" =&amp;gt; "name", "ja" =&amp;gt; "名前", "x-id" =&amp;gt; "S_name_Col", "zh-CN" =&amp;gt; "姓名"],
		Character,
		"Nominal",
		Set Property( "Notes", "...usually used as a label variable in plots" ),
		Set Values(
			{"KATIE", "LOUISE", "JANE", "JACLYN", "LILLIE", "TIM", "JAMES", "ROBERT",
			"BARBARA", "ALICE", "KATIE", "LOUISE", "JANE", "JACLYN", "LILLIE", "TIM",
			"JAMES", "ROBERT", "BARBARA", "ALICE", "KATIE", "LOUISE", "JANE",
			"JACLYN", "LILLIE", "TIM", "JAMES", "ROBERT", "BARBARA", "ALICE"}
		)
	),
	New Column(
		["en" =&amp;gt; "age", "ja" =&amp;gt; "年齢", "x-id" =&amp;gt; "S_age_Col", "zh-CN" =&amp;gt; "年龄"],
		Numeric,
		"Continuous",
		Format( "Fixed Dec", 5, 0 ),
		Set Property( "Notes", "Explore data adventurously" ),
		Set Values(
			[10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 11, 11, 11, 11, 11, 11, 11, 11,
			11, 11, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12]
		)
	),
	New Column(
		["en" =&amp;gt; "sex", "ja" =&amp;gt; "性別", "x-id" =&amp;gt; "S_sex_Col", "zh-CN" =&amp;gt; "性别"],
		Character( 2 ),
		"Nominal",
		Set Property( "Notes", "Explore data adventurously" ),
		Set Values(
			{"F", "F", "F", "F", "F", "M", "M", "M", "F", "F", "F", "F", "F", "F",
			"F", "M", "M", "M", "F", "F", "F", "F", "F", "F", "F", "M", "M", "M",
			"F", "F"}
		)
	),
	New Column( "Measurement",
		Numeric,
		"Continuous",
		Format( "Best", 12 ),
		Set Selected,
		Set Values(
			[89.959512942005, 94.265830994118, 60.9183478215709, 95.2894369501155,
			100.92544442974, 72.8645000001416, 90.6610060471576, 80.9968326007947,
			110.147639254574, 81.2141562544275, 86.8546054849867, 119.671143941814,
			67.2093557997141, 103.23300153017, 72.5169731513597, 70.9814733604435,
			90.8327138214372, 63.7885711505078, 107.963811784284, 72.4180357693695,
			115.559900880326, 55.6334275682457, 87.0823451085016, 82.9334855871275,
			74.3693295912817, 100.173055256018, 105.379759377101, 77.838793330593,
			115.123678956879, 64.664425291121]
		)
	),
	Set Label Columns( :name )
);
Graph Builder(
	Size( 570, 735 ),
	Variables( X( :age ), Y( :Measurement ), Group Y( :sex ), Overlay( :name ) ),
	Elements(
		Points( X, Y, Legend( 8 ) ),
		Line( X, Y, Legend( 9 ) ),
		Line( X, Y, Overlay( 0 ), Legend( 10 ) )
	),
	SendToReport(
		Dispatch( {"Line"}, "", OutlineBox, {Close( 0 )} ),
		Dispatch(
			{},
			"age",
			ScaleBox,
			{Min( 9 ), Max( 13 ), Inc( 1 ), Minor Ticks( 1 )}
		),
		Dispatch(
			{},
			"400",
			ScaleBox,
			{Legend Model(
				8,
				Base( 0, 0, 0, Item ID( "ALICE", 1 ) ),
				Base( 1, 0, 0, Item ID( "BARBARA", 1 ) ),
				Base( 2, 0, 0, Item ID( "JACLYN", 1 ) ),
				Base( 3, 0, 0, Item ID( "JAMES", 1 ) ),
				Base( 4, 0, 0, Item ID( "JANE", 1 ) ),
				Base( 5, 0, 0, Item ID( "KATIE", 1 ) ),
				Base( 6, 0, 0, Item ID( "LILLIE", 1 ) ),
				Base( 7, 0, 0, Item ID( "LOUISE", 1 ) ),
				Base( 8, 0, 0, Item ID( "ROBERT", 1 ) ),
				Base( 9, 0, 0, Item ID( "TIM", 1 ) )
			), Legend Model(
				10,
				Properties(
					0,
					{Line Color( 0 ), Line Width( 3 )},
					Item ID( "Mean", 1 )
				)
			)}
		)
	)
)&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 28 Jul 2018 18:41:58 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Graph-Builder-Connect-points-AND-show-regression-line/m-p/64672#M34236</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2018-07-28T18:41:58Z</dc:date>
    </item>
    <item>
      <title>Re: Graph Builder: Connect points AND show regression line</title>
      <link>https://community.jmp.com/t5/Discussions/Graph-Builder-Connect-points-AND-show-regression-line/m-p/64682#M34238</link>
      <description>Thanks for looking into and helping with this.&lt;BR /&gt;&lt;BR /&gt;Am I correct to understand that one needs to essentially create two plots,&lt;BR /&gt;&lt;BR /&gt;- one plot for the regression model (based on all observational units) and&lt;BR /&gt;- one plot to connect the data points belonging to each of the observational units (as an “overlay” plot)&lt;BR /&gt;&lt;BR /&gt;and then overlaying the two plots?&lt;BR /&gt;&lt;BR /&gt;Is there a way to do this within the Graph Builder GUI?&lt;BR /&gt;</description>
      <pubDate>Sat, 28 Jul 2018 19:59:53 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Graph-Builder-Connect-points-AND-show-regression-line/m-p/64682#M34238</guid>
      <dc:creator>Knut</dc:creator>
      <dc:date>2018-07-28T19:59:53Z</dc:date>
    </item>
    <item>
      <title>Re: Graph Builder: Connect points AND show regression line</title>
      <link>https://community.jmp.com/t5/Discussions/Graph-Builder-Connect-points-AND-show-regression-line/m-p/64684#M34240</link>
      <description>&lt;P&gt;The graph is built all in one chart.......assuming you have JMP 14.&amp;nbsp; The methodology I used requires JMP 14 functionality&lt;/P&gt;</description>
      <pubDate>Sat, 28 Jul 2018 20:18:50 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Graph-Builder-Connect-points-AND-show-regression-line/m-p/64684#M34240</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2018-07-28T20:18:50Z</dc:date>
    </item>
    <item>
      <title>Re: Graph Builder: Connect points AND show regression line</title>
      <link>https://community.jmp.com/t5/Discussions/Graph-Builder-Connect-points-AND-show-regression-line/m-p/64685#M34241</link>
      <description>Yes, I have JMP 14.&lt;BR /&gt;</description>
      <pubDate>Sat, 28 Jul 2018 20:20:53 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Graph-Builder-Connect-points-AND-show-regression-line/m-p/64685#M34241</guid>
      <dc:creator>Knut</dc:creator>
      <dc:date>2018-07-28T20:20:53Z</dc:date>
    </item>
    <item>
      <title>Re: Graph Builder: Connect points AND show regression line</title>
      <link>https://community.jmp.com/t5/Discussions/Graph-Builder-Connect-points-AND-show-regression-line/m-p/64686#M34242</link>
      <description>&lt;P&gt;Then do the graph as you did in your first discussion.&amp;nbsp; Add Animal as an overlay column.&amp;nbsp; Click on the graph and select Add.&amp;nbsp; Choose to add a Line.&amp;nbsp; On the left side of the window, go to the the properties for the new line.&amp;nbsp; Expand the "Variables" section, and uncheck Overlay Animal.&lt;/P&gt;</description>
      <pubDate>Sat, 28 Jul 2018 20:25:51 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Graph-Builder-Connect-points-AND-show-regression-line/m-p/64686#M34242</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2018-07-28T20:25:51Z</dc:date>
    </item>
    <item>
      <title>Re: Graph Builder: Connect points AND show regression line</title>
      <link>https://community.jmp.com/t5/Discussions/Graph-Builder-Connect-points-AND-show-regression-line/m-p/64687#M34243</link>
      <description>&lt;P&gt;That's it! Thanks a lot!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 28 Jul 2018 21:28:28 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Graph-Builder-Connect-points-AND-show-regression-line/m-p/64687#M34243</guid>
      <dc:creator>Knut</dc:creator>
      <dc:date>2018-07-28T21:28:28Z</dc:date>
    </item>
  </channel>
</rss>

