<?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: how to assign color by group when making a line graph? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/how-to-assign-color-by-group-when-making-a-line-graph/m-p/739240#M92076</link>
    <description>&lt;P&gt;you can use the value color property of the column and define the same color for multiple entries:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hogi_0-1711488444833.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/62711i0EF74B07F6EBC895/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hogi_0-1711488444833.png" alt="hogi_0-1711488444833.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;... alternatively you can define a new column which can be used for the COLOR - and continue to use your original column as Overlay.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is an example with Measles data from the STIPS course. Separation by Region is just applied to clearly see the different color groups.&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="hogi_1-1711488601227.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/62712i6B9C53FD83819B56/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hogi_1-1711488601227.png" alt="hogi_1-1711488601227.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;PRE&gt;&lt;CODE class=" language-jsl"&gt;Open( "$SAMPLE_STIPS/Measles.jmp" );
Graph Builder(
	Size( 1061, 493 ),
	Summary Statistic( "Median" ),
	Graph Spacing( 4 ),
	Variables(
		X( :Year ),
		Y( :Cases ),
		Group X( :Region ),
		Overlay( :State Abbr. ),
		Color( :Region )
	),
	Elements( Line( X, Y, Legend( 5 ) ) )
);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 26 Mar 2024 21:30:34 GMT</pubDate>
    <dc:creator>hogi</dc:creator>
    <dc:date>2024-03-26T21:30:34Z</dc:date>
    <item>
      <title>how to assign color by group when making a line graph?</title>
      <link>https://community.jmp.com/t5/Discussions/how-to-assign-color-by-group-when-making-a-line-graph/m-p/739234#M92074</link>
      <description>&lt;P&gt;I want to assign the same category (dye) in the same color when making a plot.&lt;/P&gt;&lt;P&gt;see plot below.&lt;/P&gt;&lt;P&gt;I would like to assign all the C560 plotted lines in orange instead of different colors. all the FAM in green.&lt;/P&gt;&lt;P&gt;I want to keep individual line not a line with the mean of the group.&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="JMP2021_0-1711487396460.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/62710i34701455C7620131/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JMP2021_0-1711487396460.png" alt="JMP2021_0-1711487396460.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Mar 2024 21:13:11 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/how-to-assign-color-by-group-when-making-a-line-graph/m-p/739234#M92074</guid>
      <dc:creator>JMP2021</dc:creator>
      <dc:date>2024-03-26T21:13:11Z</dc:date>
    </item>
    <item>
      <title>Re: how to assign color by group when making a line graph?</title>
      <link>https://community.jmp.com/t5/Discussions/how-to-assign-color-by-group-when-making-a-line-graph/m-p/739240#M92076</link>
      <description>&lt;P&gt;you can use the value color property of the column and define the same color for multiple entries:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hogi_0-1711488444833.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/62711i0EF74B07F6EBC895/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hogi_0-1711488444833.png" alt="hogi_0-1711488444833.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;... alternatively you can define a new column which can be used for the COLOR - and continue to use your original column as Overlay.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is an example with Measles data from the STIPS course. Separation by Region is just applied to clearly see the different color groups.&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="hogi_1-1711488601227.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/62712i6B9C53FD83819B56/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hogi_1-1711488601227.png" alt="hogi_1-1711488601227.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;PRE&gt;&lt;CODE class=" language-jsl"&gt;Open( "$SAMPLE_STIPS/Measles.jmp" );
Graph Builder(
	Size( 1061, 493 ),
	Summary Statistic( "Median" ),
	Graph Spacing( 4 ),
	Variables(
		X( :Year ),
		Y( :Cases ),
		Group X( :Region ),
		Overlay( :State Abbr. ),
		Color( :Region )
	),
	Elements( Line( X, Y, Legend( 5 ) ) )
);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Mar 2024 21:30:34 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/how-to-assign-color-by-group-when-making-a-line-graph/m-p/739240#M92076</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2024-03-26T21:30:34Z</dc:date>
    </item>
    <item>
      <title>Re: how to assign color by group when making a line graph?</title>
      <link>https://community.jmp.com/t5/Discussions/how-to-assign-color-by-group-when-making-a-line-graph/m-p/739242#M92077</link>
      <description>&lt;OL&gt;
&lt;LI&gt;Sort the data table by RepID &amp;amp; Condition and Cycle Number&lt;/LI&gt;
&lt;LI&gt;Run dRn vs. Cycle Number table script
&lt;OL&gt;
&lt;LI&gt;From the red triangle select Show Control Panel&lt;/LI&gt;
&lt;LI&gt;Drag the Dye column to the Color drop area&lt;/LI&gt;
&lt;LI&gt;In the Line properties in the Control Panel, select the Row Order check box&lt;/LI&gt;
&lt;/OL&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;I believe that gives you what you want&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="txnelson_0-1711490275695.png" style="width: 741px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/62713i53922A2EFB1B66FA/image-dimensions/741x374?v=v2" width="741" height="374" role="button" title="txnelson_0-1711490275695.png" alt="txnelson_0-1711490275695.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Mar 2024 21:59:32 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/how-to-assign-color-by-group-when-making-a-line-graph/m-p/739242#M92077</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2024-03-26T21:59:32Z</dc:date>
    </item>
    <item>
      <title>Re: how to assign color by group when making a line graph?</title>
      <link>https://community.jmp.com/t5/Discussions/how-to-assign-color-by-group-when-making-a-line-graph/m-p/739243#M92078</link>
      <description>&lt;P&gt;That is very helpful.&lt;/P&gt;&lt;P&gt;One more question is that what does this Row order selection does to the graph.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Mar 2024 22:28:49 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/how-to-assign-color-by-group-when-making-a-line-graph/m-p/739243#M92078</guid>
      <dc:creator>JMP2021</dc:creator>
      <dc:date>2024-03-26T22:28:49Z</dc:date>
    </item>
    <item>
      <title>Re: how to assign color by group when making a line graph?</title>
      <link>https://community.jmp.com/t5/Discussions/how-to-assign-color-by-group-when-making-a-line-graph/m-p/739255#M92081</link>
      <description>It uses the order of the row to connect from point to point</description>
      <pubDate>Wed, 27 Mar 2024 01:20:46 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/how-to-assign-color-by-group-when-making-a-line-graph/m-p/739255#M92081</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2024-03-27T01:20:46Z</dc:date>
    </item>
    <item>
      <title>Re: how to assign color by group when making a line graph?</title>
      <link>https://community.jmp.com/t5/Discussions/how-to-assign-color-by-group-when-making-a-line-graph/m-p/742630#M92251</link>
      <description>&lt;P&gt;thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Apr 2024 00:46:50 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/how-to-assign-color-by-group-when-making-a-line-graph/m-p/742630#M92251</guid>
      <dc:creator>JMP2021</dc:creator>
      <dc:date>2024-04-01T00:46:50Z</dc:date>
    </item>
  </channel>
</rss>

