<?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 Is it Possible to Create a Scatter Plot with Pairs of Points Connected in GraphBuilder? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Is-it-Possible-to-Create-a-Scatter-Plot-with-Pairs-of-Points/m-p/42519#M24698</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to create a large number (~100) of partially connected scatter plots similar to the mock example below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Mock Connected Scatter Plot" style="width: 557px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/6963iD0C61044B851CCC2/image-dimensions/557x486?v=v2" width="557" height="486" role="button" title="Connected_Scatter_Mock.png" alt="Mock Connected Scatter Plot" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Mock Connected Scatter Plot&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Each connecting line connects the Baseline (BL) point to the Week 24 (W24) point for a patient.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The data would be in the folling format&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TABLE.PNG" style="width: 402px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/6965i84986577866EF230/image-size/large?v=v2&amp;amp;px=999" role="button" title="TABLE.PNG" alt="TABLE.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Let me know if you have any ideas: I certainly don't want to draw each connecting line by hand like I did on the mock satter plot above.&lt;/P&gt;&lt;P&gt;Thank you for your help.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 11 Jun 2023 11:01:21 GMT</pubDate>
    <dc:creator>sornasst</dc:creator>
    <dc:date>2023-06-11T11:01:21Z</dc:date>
    <item>
      <title>Is it Possible to Create a Scatter Plot with Pairs of Points Connected in GraphBuilder?</title>
      <link>https://community.jmp.com/t5/Discussions/Is-it-Possible-to-Create-a-Scatter-Plot-with-Pairs-of-Points/m-p/42519#M24698</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to create a large number (~100) of partially connected scatter plots similar to the mock example below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Mock Connected Scatter Plot" style="width: 557px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/6963iD0C61044B851CCC2/image-dimensions/557x486?v=v2" width="557" height="486" role="button" title="Connected_Scatter_Mock.png" alt="Mock Connected Scatter Plot" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Mock Connected Scatter Plot&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Each connecting line connects the Baseline (BL) point to the Week 24 (W24) point for a patient.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The data would be in the folling format&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TABLE.PNG" style="width: 402px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/6965i84986577866EF230/image-size/large?v=v2&amp;amp;px=999" role="button" title="TABLE.PNG" alt="TABLE.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Let me know if you have any ideas: I certainly don't want to draw each connecting line by hand like I did on the mock satter plot above.&lt;/P&gt;&lt;P&gt;Thank you for your help.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 11 Jun 2023 11:01:21 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Is-it-Possible-to-Create-a-Scatter-Plot-with-Pairs-of-Points/m-p/42519#M24698</guid>
      <dc:creator>sornasst</dc:creator>
      <dc:date>2023-06-11T11:01:21Z</dc:date>
    </item>
    <item>
      <title>Re: Is it Possible to Create a Scatter Plot with Pairs of Points Connected in GraphBuilder?</title>
      <link>https://community.jmp.com/t5/Discussions/Is-it-Possible-to-Create-a-Scatter-Plot-with-Pairs-of-Points/m-p/42521#M24699</link>
      <description>&lt;P&gt;Here is an attempt at what you want. &amp;nbsp;It is pretty close to what you are requesting. I added a column to your data table which is being used as a Page separator, which I am imagining will be your 1-100 graphs. &amp;nbsp;Here is the output, followed by the script that generates the sample data table and the graphic output:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="timepoint.PNG" style="width: 624px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/6966iCA90BA039D6CD46C/image-size/large?v=v2&amp;amp;px=999" role="button" title="timepoint.PNG" alt="timepoint.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( "Sample",
	Add Rows( 24 ),
	New Column( "Patient_ID",
		Character,
		"Nominal",
		Set Values(
			{"PAT1", "PAT2", "PAT3", "PAT4", "PAT5", "PAT6", "PAT1", "PAT2", "PAT3",
			"PAT4", "PAT5", "PAT6", "PAT1", "PAT2", "PAT3", "PAT4", "PAT5", "PAT6",
			"PAT1", "PAT2", "PAT3", "PAT4", "PAT5", "PAT6"}
		)
	),
	New Column( "Time_point",
		Character,
		"Nominal",
		Set Selected,
		Set Values(
			{"BL", "BL", "BL", "BL", "BL", "BL", "W24", "W24", "W24", "W24", "W24",
			"W24", "BL", "BL", "BL", "BL", "BL", "BL", "W24", "W24", "W24", "W24",
			"W24", "W24"}
		)
	),
	New Column( "Variable_A",
		Numeric,
		"Continuous",
		Format( "Best", 12 ),
		Set Values(
			[19, 36, 24, 25, 19, 32, 15, 25, 12, 21, 14, 42, 19, 36, 24, 25, 19, 32,
			15, 25, 12, 21, 14, 42]
		)
	),
	New Column( "Variable B",
		Numeric,
		"Continuous",
		Format( "Best", 12 ),
		Set Values(
			[-1.3287, -1.9208, -1.436, -1.577, -0.1477, -1.849, -0.65601, -0.64708,
			-0.17958, -1.06807, 0.06291, -1.328, -1.3287, -1.9208, -1.436, -1.577,
			-0.1477, -1.849, -0.65601, -0.64708, -0.17958, -1.06807, 0.06291, -1.328
			]
		)
	),
	New Column( "Page_Var",
		Character,
		"Nominal",
		Set Values(
			{"Page1", "Page1", "Page1", "Page1", "Page1", "Page1", "Page1", "Page1",
			"Page1", "Page1", "Page1", "Page1", "Page2", "Page2", "Page2", "Page2",
			"Page2", "Page2", "Page2", "Page2", "Page2", "Page2", "Page2", "Page2"}
		)
	)
);

dt &amp;lt;&amp;lt; Graph Builder(
	Size( 534, 954 ),
	Show Control Panel( 0 ),
	Variables(
		X( :Variable_A ),
		Y( :Variable B ),
		Page( :Page_Var ),
		Overlay( :Patient_ID ),
		Color( :Time_point )
	),
	Elements( Points( X, Y, Legend( 3 ) ), Line( X, Y, Legend( 5 ) ) ),
	SendToReport(
		Dispatch(
			{},
			"400",
			ScaleBox,
			{Legend Model(
				3,
				Properties( 0, {Marker( "FilledCircle" )} ),
				Properties( 1, {Marker( "FilledCircle" )} ),
				Properties( 2, {Marker( "FilledCircle" )} ),
				Properties( 3, {Marker( "FilledCircle" )} ),
				Properties( 4, {Marker( "FilledCircle" )} ),
				Properties( 5, {Marker( "FilledCircle" )} ),
				Properties( 6, {Marker( "FilledCircle" )} ),
				Properties( 7, {Marker( "FilledCircle" )} )
			), Legend Model(
				5,
				Properties( 0, {Line Color( 0 )} ),
				Properties( 1, {Line Color( 0 )} )
			)}
		),&lt;BR /&gt; Dispatch( {}, "Graph Builder", FrameBox, {Marker Size( 5 )} ),&lt;BR /&gt; Dispatch( {}, "Graph Builder", FrameBox( 2 ), {Marker Size( 5 )} )
	)
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 26 Jul 2017 00:37:44 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Is-it-Possible-to-Create-a-Scatter-Plot-with-Pairs-of-Points/m-p/42521#M24699</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2017-07-26T00:37:44Z</dc:date>
    </item>
  </channel>
</rss>

