<?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 color/marker selected rows based on multiple selection criteria? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-color-marker-selected-rows-based-on-multiple-selection/m-p/15220#M14070</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, bernie426!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There's a bunch of ways to do this.&amp;nbsp; Here's one:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BigClass_dt = Open( "$SAMPLE_DATA/Big Class.jmp" );&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BigClass_dt &amp;lt;&amp;lt; Select Where( And ( Or (age == 13, age ==12), sex =="M")) &amp;lt;&amp;lt; Colors(RGB Color(0,0.333,0.667)) &amp;lt;&amp;lt; Markers( "\!U2642" ) &amp;lt;&amp;lt; Clear Select;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BigClass_dt &amp;lt;&amp;lt; Select Where( And ( Or (age == 13, age ==12), sex =="F")) &amp;lt;&amp;lt; Colors(RGB Color(0.376,0.248,0.376)) &amp;lt;&amp;lt; Markers( "\!U2640" ) &amp;lt;&amp;lt; Clear Select;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you had many color and marker assignments to do, you might want to be a little less explicit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Nov 2015 23:59:02 GMT</pubDate>
    <dc:creator>Kevin_Anderson</dc:creator>
    <dc:date>2015-11-06T23:59:02Z</dc:date>
    <item>
      <title>How to color/marker selected rows based on multiple selection criteria?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-color-marker-selected-rows-based-on-multiple-selection/m-p/15219#M14069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am writing a script that is able to color and mark selected rows. Let's take the Big Class table as an example. &lt;/P&gt;&lt;P&gt;The following is my script, can anyone help out to get the selected rows to be colored to specific color like "Blue" and able add different marker for age =12 and age=13. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Open( "$SAMPLE_DATA/Big Class.jmp" );&lt;/P&gt;&lt;P&gt;&amp;nbsp; For Each Row( Selected(Row State()) = And ( Or (age == 13, age ==12), sex =="M"))= Color State( {0, 0, 225} );&lt;/P&gt;&lt;P&gt;&amp;nbsp; Color To RGB( Color Of( Selected( Row State() ) ));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many Thanks, &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Nov 2015 06:06:28 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-color-marker-selected-rows-based-on-multiple-selection/m-p/15219#M14069</guid>
      <dc:creator>bernie426</dc:creator>
      <dc:date>2015-11-06T06:06:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to color/marker selected rows based on multiple selection criteria?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-color-marker-selected-rows-based-on-multiple-selection/m-p/15220#M14070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, bernie426!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There's a bunch of ways to do this.&amp;nbsp; Here's one:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BigClass_dt = Open( "$SAMPLE_DATA/Big Class.jmp" );&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BigClass_dt &amp;lt;&amp;lt; Select Where( And ( Or (age == 13, age ==12), sex =="M")) &amp;lt;&amp;lt; Colors(RGB Color(0,0.333,0.667)) &amp;lt;&amp;lt; Markers( "\!U2642" ) &amp;lt;&amp;lt; Clear Select;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BigClass_dt &amp;lt;&amp;lt; Select Where( And ( Or (age == 13, age ==12), sex =="F")) &amp;lt;&amp;lt; Colors(RGB Color(0.376,0.248,0.376)) &amp;lt;&amp;lt; Markers( "\!U2640" ) &amp;lt;&amp;lt; Clear Select;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you had many color and marker assignments to do, you might want to be a little less explicit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Nov 2015 23:59:02 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-color-marker-selected-rows-based-on-multiple-selection/m-p/15220#M14070</guid>
      <dc:creator>Kevin_Anderson</dc:creator>
      <dc:date>2015-11-06T23:59:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to color/marker selected rows based on multiple selection criteria?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-color-marker-selected-rows-based-on-multiple-selection/m-p/15221#M14071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, Kevin. It worked out great for me. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many Thanks, &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Nov 2015 15:29:53 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-color-marker-selected-rows-based-on-multiple-selection/m-p/15221#M14071</guid>
      <dc:creator>bernie426</dc:creator>
      <dc:date>2015-11-10T15:29:53Z</dc:date>
    </item>
  </channel>
</rss>

