<?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 Value Colors from another column in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Value-Colors-from-another-column/m-p/904067#M106289</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/1340"&gt;@Jordan_Hiller&lt;/a&gt;&amp;nbsp;, it was nice to meet you at the Discovery Summit 2025 (online)&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;An issue I still suffer with:&lt;BR /&gt;How to assign colors to line plots, especially when line is used in combination with smoother:&lt;BR /&gt;&lt;LI-MESSAGE title="Graph Builder. Combine Smoother and Line - how?" uid="658341" url="https://community.jmp.com/t5/Discussions/Graph-Builder-Combine-Smoother-and-Line-how/m-p/658341#U658341" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-forum-thread lia-fa-icon lia-fa-forum lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hogi_0-1758860224150.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/83549i0F7F317F27FCCB4E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hogi_0-1758860224150.png" alt="hogi_0-1758860224150.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I wished this option was available in JMP:&amp;nbsp;&lt;LI-MESSAGE title="Graph Builder: Line - possibility to add breaks" uid="658586" url="https://community.jmp.com/t5/JMP-Wish-List/Graph-Builder-Line-possibility-to-add-breaks/m-p/658586#U658586" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-idea-thread lia-fa-icon lia-fa-idea lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;or this one:&amp;nbsp;&lt;LI-MESSAGE title="Graph Builder - Overlay by multiple columns" uid="188405" url="https://community.jmp.com/t5/JMP-Wish-List/Graph-Builder-Overlay-by-multiple-columns/m-p/188405#U188405" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-idea-thread lia-fa-icon lia-fa-idea lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&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;&lt;BR /&gt;Here is another interesting task&amp;nbsp;- transferred to Big Class:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;I want to apply colour to a large number of curves.&lt;BR /&gt;So, let's use the students of big class and plot name&amp;nbsp; (39 values!) on the x-axis.&lt;BR /&gt;Imagine that the bars are actually line plots in different colors.&lt;/LI&gt;
&lt;LI&gt;I don't want to see all the data at once, but "zap" through the data - age by age&lt;BR /&gt;so let's add a data filter to restrict the view to a specific age&lt;/LI&gt;
&lt;LI&gt;The task: &lt;STRONG&gt;In this view, every (visible) student should be represented by a unique color.&lt;BR /&gt;&lt;/STRONG&gt;please remember: the bar graph will be complicated curves. So, we don't want 2 curves in a plot with the same color.&lt;BR /&gt;&lt;BR /&gt;We can use the new&amp;nbsp;&lt;FONT face="courier new,courier"&gt;col score()&lt;/FONT&gt; which was introduced in JMP19:&lt;LI-MESSAGE title="New in Graph Builder for JMP 19" uid="895744" url="https://community.jmp.com/t5/JMPer-Cable/New-in-Graph-Builder-for-JMP-19/m-p/895744#U895744" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-blog-thread lia-fa-icon lia-fa-blog lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;&lt;BR /&gt;so helpful! - so easy to use! - a huge benefit!&lt;BR /&gt;We sort the students &lt;U&gt;within an age group&lt;/U&gt; alphabetically&lt;BR /&gt;[ the 1st students are:&amp;nbsp; Jaclyn (age:12),&amp;nbsp;Alice (age: 13) , the second ones: James &amp;amp; Barbara ...]&lt;BR /&gt;&lt;BR /&gt;This &lt;STRONG&gt;Score&lt;/STRONG&gt; can be used to assign a unique color: different score - different color.&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Now, when we cycle through the age groups, we see:&amp;nbsp;&lt;BR /&gt;no duplicate colors in any of the age groups&amp;nbsp;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hogi_0-1758875289309.png" style="width: 20px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/83570i66E1331A8FF79D88/image-dimensions/20x27?v=v2" width="20" height="27" role="button" title="hogi_0-1758875289309.png" alt="hogi_0-1758875289309.png" /&gt;&lt;/span&gt;&amp;nbsp; (indeed, we can use a better color scale with &lt;U&gt;more distinct colors&lt;/U&gt; : )&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Color_by_ColScore.gif" style="width: 678px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/83548i053D8633027F5E7B/image-dimensions/678x300?v=v2" width="678" height="300" role="button" title="Color_by_ColScore.gif" alt="Color_by_ColScore.gif" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt;So far: great! Now, let's address the problem.&lt;/P&gt;
&lt;P&gt;For this plot, you can disable the legend as it provides little benefit — it just shows the value of the auxiliary column 'col score'.&lt;/P&gt;
&lt;P&gt;Here, the students are clearly visible on the x-axis.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, this is just a dummy graph. In reality, the x-axis has to be used for a continuous variable and, instead of boring bar graphs, we have complicated curves. The only way to identify the '&lt;EM&gt;students&lt;/EM&gt;' is via the legend.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So, how can the color settings be transferred from the auxiliary column 'col score' to the 'name' column, such that the legend makes sense?&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Any suggestions or alternatives are highly welcome.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
{uniqueColor} = dt &amp;lt;&amp;lt; New Formula Column(
	Operation( Category( "Aggregate" ), "Score Unique" ),
	Columns( :name ),
	Group By( :age )
);
uniqueColor&amp;lt;&amp;lt; set name ("uniqueColor");
Graph Builder(
	Variables( X( :name ), Color( :uniqueColor ) ),
	Elements( Bar( X, Legend( 3 ) ) ),
	Local Data Filter( Add Filter( columns( :age ), Where( :age == 12 ) ) )
);&lt;/CODE&gt;&lt;/PRE&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, 28 Sep 2025 14:31:27 GMT</pubDate>
    <dc:creator>hogi</dc:creator>
    <dc:date>2025-09-28T14:31:27Z</dc:date>
    <item>
      <title>Value Colors from another column</title>
      <link>https://community.jmp.com/t5/Discussions/Value-Colors-from-another-column/m-p/904067#M106289</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/1340"&gt;@Jordan_Hiller&lt;/a&gt;&amp;nbsp;, it was nice to meet you at the Discovery Summit 2025 (online)&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;An issue I still suffer with:&lt;BR /&gt;How to assign colors to line plots, especially when line is used in combination with smoother:&lt;BR /&gt;&lt;LI-MESSAGE title="Graph Builder. Combine Smoother and Line - how?" uid="658341" url="https://community.jmp.com/t5/Discussions/Graph-Builder-Combine-Smoother-and-Line-how/m-p/658341#U658341" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-forum-thread lia-fa-icon lia-fa-forum lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hogi_0-1758860224150.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/83549i0F7F317F27FCCB4E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hogi_0-1758860224150.png" alt="hogi_0-1758860224150.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I wished this option was available in JMP:&amp;nbsp;&lt;LI-MESSAGE title="Graph Builder: Line - possibility to add breaks" uid="658586" url="https://community.jmp.com/t5/JMP-Wish-List/Graph-Builder-Line-possibility-to-add-breaks/m-p/658586#U658586" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-idea-thread lia-fa-icon lia-fa-idea lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;or this one:&amp;nbsp;&lt;LI-MESSAGE title="Graph Builder - Overlay by multiple columns" uid="188405" url="https://community.jmp.com/t5/JMP-Wish-List/Graph-Builder-Overlay-by-multiple-columns/m-p/188405#U188405" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-idea-thread lia-fa-icon lia-fa-idea lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&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;&lt;BR /&gt;Here is another interesting task&amp;nbsp;- transferred to Big Class:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;I want to apply colour to a large number of curves.&lt;BR /&gt;So, let's use the students of big class and plot name&amp;nbsp; (39 values!) on the x-axis.&lt;BR /&gt;Imagine that the bars are actually line plots in different colors.&lt;/LI&gt;
&lt;LI&gt;I don't want to see all the data at once, but "zap" through the data - age by age&lt;BR /&gt;so let's add a data filter to restrict the view to a specific age&lt;/LI&gt;
&lt;LI&gt;The task: &lt;STRONG&gt;In this view, every (visible) student should be represented by a unique color.&lt;BR /&gt;&lt;/STRONG&gt;please remember: the bar graph will be complicated curves. So, we don't want 2 curves in a plot with the same color.&lt;BR /&gt;&lt;BR /&gt;We can use the new&amp;nbsp;&lt;FONT face="courier new,courier"&gt;col score()&lt;/FONT&gt; which was introduced in JMP19:&lt;LI-MESSAGE title="New in Graph Builder for JMP 19" uid="895744" url="https://community.jmp.com/t5/JMPer-Cable/New-in-Graph-Builder-for-JMP-19/m-p/895744#U895744" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-blog-thread lia-fa-icon lia-fa-blog lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;&lt;BR /&gt;so helpful! - so easy to use! - a huge benefit!&lt;BR /&gt;We sort the students &lt;U&gt;within an age group&lt;/U&gt; alphabetically&lt;BR /&gt;[ the 1st students are:&amp;nbsp; Jaclyn (age:12),&amp;nbsp;Alice (age: 13) , the second ones: James &amp;amp; Barbara ...]&lt;BR /&gt;&lt;BR /&gt;This &lt;STRONG&gt;Score&lt;/STRONG&gt; can be used to assign a unique color: different score - different color.&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Now, when we cycle through the age groups, we see:&amp;nbsp;&lt;BR /&gt;no duplicate colors in any of the age groups&amp;nbsp;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hogi_0-1758875289309.png" style="width: 20px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/83570i66E1331A8FF79D88/image-dimensions/20x27?v=v2" width="20" height="27" role="button" title="hogi_0-1758875289309.png" alt="hogi_0-1758875289309.png" /&gt;&lt;/span&gt;&amp;nbsp; (indeed, we can use a better color scale with &lt;U&gt;more distinct colors&lt;/U&gt; : )&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Color_by_ColScore.gif" style="width: 678px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/83548i053D8633027F5E7B/image-dimensions/678x300?v=v2" width="678" height="300" role="button" title="Color_by_ColScore.gif" alt="Color_by_ColScore.gif" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt;So far: great! Now, let's address the problem.&lt;/P&gt;
&lt;P&gt;For this plot, you can disable the legend as it provides little benefit — it just shows the value of the auxiliary column 'col score'.&lt;/P&gt;
&lt;P&gt;Here, the students are clearly visible on the x-axis.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, this is just a dummy graph. In reality, the x-axis has to be used for a continuous variable and, instead of boring bar graphs, we have complicated curves. The only way to identify the '&lt;EM&gt;students&lt;/EM&gt;' is via the legend.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So, how can the color settings be transferred from the auxiliary column 'col score' to the 'name' column, such that the legend makes sense?&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Any suggestions or alternatives are highly welcome.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
{uniqueColor} = dt &amp;lt;&amp;lt; New Formula Column(
	Operation( Category( "Aggregate" ), "Score Unique" ),
	Columns( :name ),
	Group By( :age )
);
uniqueColor&amp;lt;&amp;lt; set name ("uniqueColor");
Graph Builder(
	Variables( X( :name ), Color( :uniqueColor ) ),
	Elements( Bar( X, Legend( 3 ) ) ),
	Local Data Filter( Add Filter( columns( :age ), Where( :age == 12 ) ) )
);&lt;/CODE&gt;&lt;/PRE&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, 28 Sep 2025 14:31:27 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Value-Colors-from-another-column/m-p/904067#M106289</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2025-09-28T14:31:27Z</dc:date>
    </item>
    <item>
      <title>Re: Value Colors from another column</title>
      <link>https://community.jmp.com/t5/Discussions/Value-Colors-from-another-column/m-p/904106#M106292</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/26800"&gt;@hogi&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Another cool thing you can do in JMP is use the tags to assign column properties like colour values, that way unique colours are assigned and you don't see any duplicates - you can take that tag over to different properties too.&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="Ben_BarrIngh_0-1758873357684.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/83568i6E7A4EB33DB3BCBF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ben_BarrIngh_0-1758873357684.png" alt="Ben_BarrIngh_0-1758873357684.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;Ben&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Sep 2025 07:57:03 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Value-Colors-from-another-column/m-p/904106#M106292</guid>
      <dc:creator>Ben_BarrIngh</dc:creator>
      <dc:date>2025-09-26T07:57:03Z</dc:date>
    </item>
    <item>
      <title>Re: Value Colors from another column</title>
      <link>https://community.jmp.com/t5/Discussions/Value-Colors-from-another-column/m-p/904107#M106293</link>
      <description>&lt;P&gt;Hi Ben, this is what I do in general - but I don't see a way how it can help here.&lt;/P&gt;
&lt;P&gt;How can I use Value Colors for this use case? What is your suggestion?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Some details which might help to understand the issue.&lt;BR /&gt;&lt;BR /&gt;The tricky thing:&lt;BR /&gt;in the columns properties of "name" I have close to 0 chance to assign meaningful colors to 40 students such that the above mentioned task can be fulfilled.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is why I developed the intermediate step with the Col Score values.&lt;/P&gt;
&lt;P&gt;But when I assign specific colors in the auxiliary column &lt;FONT face="courier new,courier"&gt;Col Score&lt;/FONT&gt;, the legend won't show the names of the students.&lt;BR /&gt;So: dead end?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Sore, with scripting, I can map the groups from&amp;nbsp; Col Scores to Colors for column "name".&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But is there a more elegant solution? Maybe even without the need of Col Score?&lt;/P&gt;</description>
      <pubDate>Fri, 26 Sep 2025 08:06:40 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Value-Colors-from-another-column/m-p/904107#M106293</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2025-09-26T08:06:40Z</dc:date>
    </item>
    <item>
      <title>Re: Value Colors from another column</title>
      <link>https://community.jmp.com/t5/Discussions/Value-Colors-from-another-column/m-p/904209#M106310</link>
      <description>&lt;P&gt;Hello Holger, it was great to see you at the Online Discovery Summit!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a hacky approach you can try for the first problem -- it involves splitting the data by the groups. I had to do some manual management of the colors, but it wasn't too bad.&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-left" image-alt="linesmoothcolors.png" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/83620i2B6B7205E861B6DD/image-size/large?v=v2&amp;amp;px=999" role="button" title="linesmoothcolors.png" alt="linesmoothcolors.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I didn't understand your second problem -- perhaps you could supply an example with the curves at issue, rather than bars.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;Jordan&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;Names Default To Here( 1 );

dt = Open( "$SAMPLE_DATA/Functional Data/Weekly Weather Data.jmp" );
dt &amp;lt;&amp;lt; New Column( "group", Character, "Nominal", Formula( Substr( :STATION, 8, 1 ) ) );

dt &amp;lt;&amp;lt; New Column( "DupGroup", Character, "Nominal", Formula( :group ) ) &amp;lt;&amp;lt; Run Formulas;

    //Split data table
dt2 = dt &amp;lt;&amp;lt; Split(
	Split By( :group ),
	Split( :TAVG ),
	Group( :DATE, :STATION ),
	Output Table( "SplitByStationDate" ),
	Remaining Columns( Keep( :DupGroup ) ),
	Sort by Column Property
);

dt2 &amp;lt;&amp;lt; Graph Builder(
	Size( 636, 564 ),
	Show Control Panel( 0 ),
	Fit to Window( "Off" ),
	Variables(
		X( :DATE ),
		Y( :"2"n ),
		Y( :"3"n, Position( 1 ) ),
		Y( :"4"n, Position( 1 ) ),
		Overlay( :STATION, Overlay Encoding( "None" ) ),
		Color( :DupGroup )
	),
	Elements(
		Line( X, Y( 1 ), Y( 2 ), Y( 3 ), Legend( 6 ) ),
		Smoother( X, Y( 1 ), Y( 2 ), Y( 3 ), Overlay( 0 ), Color( 0 ), Legend( 7 ) )
	),
	SendToReport(
		Dispatch( {}, "400", ScaleBox,
			{Legend Model(
				6,
				Properties( 0, {Line Color( 21 )}, Item ID( "2", 1 ) ),
				Properties( 1, {Line Color( 19 )}, Item ID( "3", 1 ) ),
				Properties( 2, {Line Color( 20 )}, Item ID( "4", 1 ) ),
				Properties( 3, {Line Color( 19 )}, Item ID( "2 (STATION=USW00003195)", 1 ) ),
				Properties( 4, {Line Color( 19 ), Line Style( "Solid" )}, Item ID( "3 (STATION=USW00003195)", 1 ) ),
				Properties( 5, {Line Color( 19 ), Line Style( "Solid" )}, Item ID( "4 (STATION=USW00003195)", 1 ) ),
				Properties( 6, {Line Color( 19 )}, Item ID( "2 (STATION=USW00003868)", 1 ) ),
				Properties( 7, {Line Color( 19 ), Line Style( "Solid" )}, Item ID( "3 (STATION=USW00003868)", 1 ) ),
				Properties( 8, {Line Color( 19 ), Line Style( "Solid" )}, Item ID( "4 (STATION=USW00003868)", 1 ) ),
				Properties( 9, {Line Color( 19 )}, Item ID( "2 (STATION=USW00003949)", 1 ) ),
				Properties( 10, {Line Color( 19 ), Line Style( "Solid" )}, Item ID( "3 (STATION=USW00003949)", 1 ) ),
				Properties( 11, {Line Color( 19 ), Line Style( "Solid" )}, Item ID( "4 (STATION=USW00003949)", 1 ) ),
				Properties( 12, {Line Color( 21 )}, Item ID( "2 (STATION=USW00012924)", 1 ) ),
				Properties( 13, {Line Color( 21 ), Line Style( "Solid" )}, Item ID( "3 (STATION=USW00012924)", 1 ) ),
				Properties( 14, {Line Color( 21 ), Line Style( "Solid" )}, Item ID( "4 (STATION=USW00012924)", 1 ) ),
				Properties( 15, {Line Color( 19 )}, Item ID( "2 (STATION=USW00013733)", 1 ) ),
				Properties( 16, {Line Color( 19 ), Line Style( "Solid" )}, Item ID( "3 (STATION=USW00013733)", 1 ) ),
				Properties( 17, {Line Color( 19 ), Line Style( "Solid" )}, Item ID( "4 (STATION=USW00013733)", 1 ) ),
				Properties( 18, {Line Color( 19 )}, Item ID( "2 (STATION=USW00013877)", 1 ) ),
				Properties( 19, {Line Color( 19 ), Line Style( "Solid" )}, Item ID( "3 (STATION=USW00013877)", 1 ) ),
				Properties( 20, {Line Color( 19 ), Line Style( "Solid" )}, Item ID( "4 (STATION=USW00013877)", 1 ) ),
				Properties( 21, {Line Color( 20 )}, Item ID( "2 (STATION=USW00014751)", 1 ) ),
				Properties( 22, {Line Color( 20 ), Line Style( "Solid" )}, Item ID( "3 (STATION=USW00014751)", 1 ) ),
				Properties( 23, {Line Color( 20 ), Line Style( "Solid" )}, Item ID( "4 (STATION=USW00014751)", 1 ) ),
				Properties( 24, {Line Color( 20 )}, Item ID( "2 (STATION=USW00014922)", 1 ) ),
				Properties( 25, {Line Color( 20 ), Line Style( "Solid" )}, Item ID( "3 (STATION=USW00014922)", 1 ) ),
				Properties( 26, {Line Color( 20 ), Line Style( "Solid" )}, Item ID( "4 (STATION=USW00014922)", 1 ) ),
				Properties( 27, {Line Color( 20 )}, Item ID( "2 (STATION=USW00024024)", 1 ) ),
				Properties( 28, {Line Color( 20 ), Line Style( "Solid" )}, Item ID( "3 (STATION=USW00024024)", 1 ) ),
				Properties( 29, {Line Color( 20 ), Line Style( "Solid" )}, Item ID( "4 (STATION=USW00024024)", 1 ) ),
				Properties( 30, {Line Color( 20 )}, Item ID( "2 (STATION=USW00024144)", 1 ) ),
				Properties( 31, {Line Color( 20 ), Line Style( "Solid" )}, Item ID( "3 (STATION=USW00024144)", 1 ) ),
				Properties( 32, {Line Color( 20 ), Line Style( "Solid" )}, Item ID( "4 (STATION=USW00024144)", 1 ) ),
				Properties( 33, {Line Color( 19 )}, Item ID( "2 (STATION=USW00053182)", 1 ) ),
				Properties( 34, {Line Color( 19 ), Line Style( "Solid" )}, Item ID( "3 (STATION=USW00053182)", 1 ) ),
				Properties( 35, {Line Color( 19 ), Line Style( "Solid" )}, Item ID( "4 (STATION=USW00053182)", 1 ) ),
				Properties( 36, {Line Color( 21 )}, Item ID( "2 (STATION=USW00092811)", 1 ) ),
				Properties( 37, {Line Color( 21 ), Line Style( "Solid" )}, Item ID( "3 (STATION=USW00092811)", 1 ) ),
				Properties( 38, {Line Color( 21 ), Line Style( "Solid" )}, Item ID( "4 (STATION=USW00092811)", 1 ) ),
				Properties( 39, {Line Color( 19 )}, Item ID( "2 (STATION=USW00093067)", 1 ) ),
				Properties( 40, {Line Color( 19 ), Line Style( "Solid" )}, Item ID( "3 (STATION=USW00093067)", 1 ) ),
				Properties( 41, {Line Color( 19 ), Line Style( "Solid" )}, Item ID( "4 (STATION=USW00093067)", 1 ) ),
				Properties( 42, {Line Color( 19 )}, Item ID( "2 (STATION=USW00093242)", 1 ) ),
				Properties( 43, {Line Color( 19 ), Line Style( "Solid" )}, Item ID( "3 (STATION=USW00093242)", 1 ) ),
				Properties( 44, {Line Color( 19 ), Line Style( "Solid" )}, Item ID( "4 (STATION=USW00093242)", 1 ) ),
				Properties( 45, {Line Color( 19 )}, Item ID( "2 (STATION=USW00093718)", 1 ) ),
				Properties( 46, {Line Color( 19 ), Line Style( "Solid" )}, Item ID( "3 (STATION=USW00093718)", 1 ) ),
				Properties( 47, {Line Color( 19 ), Line Style( "Solid" )}, Item ID( "4 (STATION=USW00093718)", 1 ) ),
				Properties( 48, {Line Color( 20 )}, Item ID( "2 (STATION=USW00094626)", 1 ) ),
				Properties( 49, {Line Color( 20 ), Line Style( "Solid" )}, Item ID( "3 (STATION=USW00094626)", 1 ) ),
				Properties( 50, {Line Color( 20 ), Line Style( "Solid" )}, Item ID( "4 (STATION=USW00094626)", 1 ) )
			), Legend Model(
				7,
				Type Properties( 0, "H Line", {Line Width( 5 )} ),
				Properties( 0, {Line Color( 21 ), Line Width( 5 )}, Item ID( "Smooth(2)", 1 ) ),
				Properties( 1, {Line Color( 19 ), Line Width( 5 )}, Item ID( "Smooth(3)", 1 ) ),
				Properties( 2, {Line Color( 20 ), Line Width( 5 )}, Item ID( "Smooth(4)", 1 ) )
			)}
		)
	)
);


&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Sep 2025 18:13:28 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Value-Colors-from-another-column/m-p/904209#M106310</guid>
      <dc:creator>Jordan_Hiller</dc:creator>
      <dc:date>2025-09-26T18:13:28Z</dc:date>
    </item>
    <item>
      <title>Re: Value Colors from another column</title>
      <link>https://community.jmp.com/t5/Discussions/Value-Colors-from-another-column/m-p/904224#M106312</link>
      <description>&lt;P&gt;Wow, that's one of the best workarounds yet!&lt;BR /&gt;:)&lt;/img&gt;very creative!&lt;BR /&gt;could you please post it in the other conversation. I will accept as a "solution" ...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 28 Sep 2025 14:28:33 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Value-Colors-from-another-column/m-p/904224#M106312</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2025-09-28T14:28:33Z</dc:date>
    </item>
    <item>
      <title>Re: Value Colors from another column</title>
      <link>https://community.jmp.com/t5/Discussions/Value-Colors-from-another-column/m-p/904227#M106313</link>
      <description>&lt;P&gt;concerning "color"&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;I thought: should be super easy - with the new Overlay Encoding setting new in JMP18):&lt;BR /&gt;don't let it destroy the colors&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;with one column on the y axis: works like a charm&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hogi_0-1758916543527.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/83625i6AEB1987246551D0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hogi_0-1758916543527.png" alt="hogi_0-1758916543527.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;same setting with 2 columns on the y axis: !?!??!&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hogi_1-1758916669228.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/83626iCE0A5E706CAD31D4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hogi_1-1758916669228.png" alt="hogi_1-1758916669228.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Sep 2025 19:58:02 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Value-Colors-from-another-column/m-p/904227#M106313</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2025-09-26T19:58:02Z</dc:date>
    </item>
    <item>
      <title>Re: Value Colors from another column</title>
      <link>https://community.jmp.com/t5/Discussions/Value-Colors-from-another-column/m-p/904231#M106315</link>
      <description>&lt;P&gt;For the above problem, I have thought that I have a "hacky" solution:&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;concatenate age and name&lt;BR /&gt;&lt;/STRONG&gt;the age in front of the name is acceptable for me in the legend:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hogi_1-1758917360631.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/83628i3CEF27C5CF2A2A75/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hogi_1-1758917360631.png" alt="hogi_1-1758917360631.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;and with the age in front, the labels are in an nice order - such that it's possible for the user to apply color gradients to blocks of age groups via&amp;nbsp;&lt;STRONG&gt;Gradient between selected points.&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hogi_0-1758917970163.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/83630i6B25B0CDC0B0E687/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hogi_0-1758917970163.png" alt="hogi_0-1758917970163.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;but Gradient between selected points is exactly what it says: a gradient between the (colors) of the selected points&amp;nbsp; - it does not apply the default color theme : (&lt;BR /&gt;&lt;BR /&gt;One could write a wish to extend the functionality of the menu: &lt;STRONG&gt;&lt;EM&gt;versatile batch color assignment&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;select some points - select a color theme - apply the theme to the selected points&lt;/P&gt;
&lt;P&gt;I am sure: The wish stays there for years - gets some Kudos - little chance to get implemented.&lt;BR /&gt;So, I won't submit.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Sep 2025 20:24:22 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Value-Colors-from-another-column/m-p/904231#M106315</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2025-09-26T20:24:22Z</dc:date>
    </item>
    <item>
      <title>Re: Value Colors from another column</title>
      <link>https://community.jmp.com/t5/Discussions/Value-Colors-from-another-column/m-p/904484#M106331</link>
      <description>&lt;P&gt;via Scripting:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;fromCol = Name Expr( :uniqueColor );
toCol = Name Expr( :name );

steal my colors( Name Expr( fromCol ), Name Expr( toCol ) )
&lt;BR /&gt;// helper labels to sort the entries in the legend by age (not needed with a data filter)&lt;BR /&gt;
students= set unique(:name &amp;lt;&amp;lt; get values());
myValueLabels =Transform each({student}, students, 
	Eval Expr((Expr(student) = Expr(Char(:age[where(dt,:name == student)[1]])||"_"||student)))
);

dt:name &amp;lt;&amp;lt; Value Labels( myValueLabels ) &amp;lt;&amp;lt; Use Value Labels( 1 );&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&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_0-1759077024674.png" style="width: 836px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/83770iE6F991345983A8F7/image-dimensions/836x276?v=v2" width="836" height="276" role="button" title="hogi_0-1759077024674.png" alt="hogi_0-1759077024674.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;steal my colors:&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;steal my colors = Function( {fromCol, toCol}, // fromCol and toCol are "Columns"
	//{default local}, 
	
	write("from column  ", Name Expr( fromCol ), "\!n");
	write("to           ", Name Expr( toCol ) , "\!n");




// Lookup: Name -&amp;gt; UniqueColorID
	Eval(
		Eval Expr(
			Lookup = Current Data Table() &amp;lt;&amp;lt; Summary(
				Group( Expr( Name Expr( toCol ) ) ),
				Mean( Expr( Name Expr( fromCol ) ) ),
				statistics column name format( "column" )
			)
		)
	);
	
	// grey values for duplicates (like Robert)
	duplicates = As Column( Lookup, 1 )[Where( Lookup, :N Rows &amp;gt; 1 )]; // AsColumn(Lookup,1), not toCol?!? toCol lives in dt !
	If(N items(duplicates),ColorsDuplicates =  Transform Each( {duplicate}, As List( Index( 1, N Items( duplicates ) ) ),
		{255, 255, 255} - duplicate / N Items( duplicates ) * {255, 255, 255}
	));
	
	// Lookup: label -&amp;gt; uniqueColorID
	AA1 = Associative Array( lookup[0, {1, 3}] ); // 1: label , 3: uniqueColorID
	labels = AA1 &amp;lt;&amp;lt; get keys;
	Close(Lookup, noSave);

	// workaround: assign colors to "fromCol" and get them via the column script
	// (because I don't know how to get the Nth color from a Color Theme on my own)
	Eval(
		Eval Expr(
			dt &amp;lt;&amp;lt; Color or Mark by Column(
				Expr( Name Expr( fromCol ) ),
				Color Theme( "JMP Blue Red Green" ),
				Marker( 0 ),
				Continuous Scale( 0 ),
				Save To Column Property( 1 )
			)
		)
	);
	myScript = fromCol &amp;lt;&amp;lt; get script;

// convert colors from a column property
	ValueColorsProperty = Extract Expr( myScript, Set Property( "Value Colors", Wild List() ) );
// ... into an Associative Array for the Lookup: uniqueColorID -&amp;gt; color
	AA2 = Associative Array( Substitute( Arg( ValueColorsProperty, 2 ), Expr( Assign() ), Expr( List() ) ) );

// for each label, define a color
	assignments = Transform Each( {label}, labels,
		duplicateID = Contains( duplicates, label );
		
		Eval Expr( // don't execute, just evaluate the left and right part
			Expr( label ) = Expr(
				If( duplicateID, // duplicate Label? -&amp;gt; grey value
					ColorsDuplicates[duplicateID]
				, 
	
					AA2[AA1[label]]
				) // otherwise: look it up via the associative arrays
			)
		);
	);

// assign the settings to the target column
	toCol &amp;lt;&amp;lt; Set Property( "Value Colors", assignments );

);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 28 Sep 2025 16:34:36 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Value-Colors-from-another-column/m-p/904484#M106331</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2025-09-28T16:34:36Z</dc:date>
    </item>
  </channel>
</rss>

