<?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 use JSL to automatically select the specified color gradient form? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-use-JSL-to-automatically-select-the-specified-color/m-p/280099#M54302</link>
    <description>&lt;P&gt;Thank markbailey!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I still don't understand. That's all I can write.But the table doesn't change at all.&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="2020-07-19_20-55.png" style="width: 795px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/25465i9461E47C0582F7DA/image-size/large?v=v2&amp;amp;px=999" role="button" title="2020-07-19_20-55.png" alt="2020-07-19_20-55.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 19 Jul 2020 12:57:43 GMT</pubDate>
    <dc:creator>lwx228</dc:creator>
    <dc:date>2020-07-19T12:57:43Z</dc:date>
    <item>
      <title>How to use JSL to automatically select the specified color gradient form?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-use-JSL-to-automatically-select-the-specified-color/m-p/279208#M54130</link>
      <description>&lt;P&gt;For example, the height column of "Big Class. JMP ", select the color gradient specified by ②.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&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="2020-07-15_17-53.png" style="width: 590px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/25377iCCB154228DEF75DD/image-size/large?v=v2&amp;amp;px=999" role="button" title="2020-07-15_17-53.png" alt="2020-07-15_17-53.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 23:31:58 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-use-JSL-to-automatically-select-the-specified-color/m-p/279208#M54130</guid>
      <dc:creator>lwx228</dc:creator>
      <dc:date>2023-06-09T23:31:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to use JSL to automatically select the specified color gradient form?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-use-JSL-to-automatically-select-the-specified-color/m-p/279217#M54132</link>
      <description>&lt;P&gt;See &lt;A href="https://www.jmp.com/support/help/en/15.1/#page/jmp/column-properties-3.shtml" target="_self"&gt;Column Properties&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jul 2020 11:12:21 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-use-JSL-to-automatically-select-the-specified-color/m-p/279217#M54132</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2020-07-15T11:12:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to use JSL to automatically select the specified color gradient form?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-use-JSL-to-automatically-select-the-specified-color/m-p/279222#M54133</link>
      <description>&lt;P&gt;Thank &lt;A href="https://community.jmp.com/t5/user/viewprofilepage/user-id/5358" target="_blank" rel="noopener"&gt;&lt;SPAN class="login-bold"&gt;markbailey&lt;/SPAN&gt;&lt;/A&gt;!&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="2020-07-15_19-53.png" style="width: 689px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/25378iBA381BA9BEFD442F/image-size/large?v=v2&amp;amp;px=999" role="button" title="2020-07-15_19-53.png" alt="2020-07-15_19-53.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jul 2020 11:55:30 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-use-JSL-to-automatically-select-the-specified-color/m-p/279222#M54133</guid>
      <dc:creator>lwx228</dc:creator>
      <dc:date>2020-07-15T11:55:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to use JSL to automatically select the specified color gradient form?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-use-JSL-to-automatically-select-the-specified-color/m-p/280074#M54294</link>
      <description>&lt;P&gt;Thank markbailey!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I have tried several methods, but still have no solution.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt:height&amp;lt;&amp;lt;Set Property( "Value Colors", {"Female" = 3, "Male" = 5} );Wait(0);&lt;/CODE&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt:height&amp;lt;&amp;lt;Set Property( "Value Colors", Color Theme( "White to Blue" ) );Wait(0);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 19 Jul 2020 10:52:24 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-use-JSL-to-automatically-select-the-specified-color/m-p/280074#M54294</guid>
      <dc:creator>lwx228</dc:creator>
      <dc:date>2020-07-19T10:52:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to use JSL to automatically select the specified color gradient form?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-use-JSL-to-automatically-select-the-specified-color/m-p/280095#M54301</link>
      <description>&lt;P&gt;That failure is because you are using the wrong property. The documentation that I cited clearly distinguished between associating colors and gradients:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="body"&gt;Specify the gradient and the range and midpoint for Value Gradient:&lt;/P&gt;
&lt;P class="codeSyntax"&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;col &amp;lt;&amp;lt; Set Property( "Color Gradient", { "White to Blue", Range( { 18, 60, 25 } ) } );&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 19 Jul 2020 12:38:18 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-use-JSL-to-automatically-select-the-specified-color/m-p/280095#M54301</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2020-07-19T12:38:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to use JSL to automatically select the specified color gradient form?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-use-JSL-to-automatically-select-the-specified-color/m-p/280099#M54302</link>
      <description>&lt;P&gt;Thank markbailey!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I still don't understand. That's all I can write.But the table doesn't change at all.&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="2020-07-19_20-55.png" style="width: 795px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/25465i9461E47C0582F7DA/image-size/large?v=v2&amp;amp;px=999" role="button" title="2020-07-19_20-55.png" alt="2020-07-19_20-55.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 19 Jul 2020 12:57:43 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-use-JSL-to-automatically-select-the-specified-color/m-p/280099#M54302</guid>
      <dc:creator>lwx228</dc:creator>
      <dc:date>2020-07-19T12:57:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to use JSL to automatically select the specified color gradient form?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-use-JSL-to-automatically-select-the-specified-color/m-p/280100#M54303</link>
      <description>I want to use JSL to directly achieve the effect of height column loading color gradient.</description>
      <pubDate>Sun, 19 Jul 2020 12:48:00 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-use-JSL-to-automatically-select-the-specified-color/m-p/280100#M54303</guid>
      <dc:creator>lwx228</dc:creator>
      <dc:date>2020-07-19T12:48:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to use JSL to automatically select the specified color gradient form?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-use-JSL-to-automatically-select-the-specified-color/m-p/280118#M54304</link>
      <description>&lt;P&gt;The only change in the data table will be observed in the Columns panel after you add a column property. That change is indicated by the asterisk after the column name height in the panel. The data column and data table do not display a color gradient. The Graph Builder uses the color gradient. This script illustrates the effect.&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 );

// sample data
dt = Open( "$SAMPLE_DATA/Fitness.jmp" );

// sample plot using defaut color role
gb = dt &amp;lt;&amp;lt; Graph Builder(
	Size( 531, 454 ),
	Show Control Panel( 0 ),
	Variables( X( :Runtime ), Y( :Oxy ), Color( :Weight ) ),
	Elements( Points( X, Y, Legend( 9 ) ), Smoother( X, Y, Legend( 10 ) ) )
);

// look at default result
Wait( 2 );

// change color gradient
:Weight &amp;lt;&amp;lt; Set Property( "Color Gradient", {"White to Blue", Range( {18, 60, 25} )} );

// observe new gradient in Graph Builder&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 19 Jul 2020 15:18:08 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-use-JSL-to-automatically-select-the-specified-color/m-p/280118#M54304</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2020-07-19T15:18:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to use JSL to automatically select the specified color gradient form?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-use-JSL-to-automatically-select-the-specified-color/m-p/280259#M54315</link>
      <description>&lt;P&gt;OK, now I see what you want. It takes two steps: (1) specify color gradient and (2) color the cells. This example code illustrates the two steps and the syntax:&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 );

// example data set
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );

// add color gradient as a column property
:height
	&amp;lt;&amp;lt; Set Property( "Color Gradient", {"Green Yellow Red", Range( {51, 70, 62.55} )} )
	&amp;lt;&amp;lt; Color Cell by Value;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 19 Jul 2020 20:55:04 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-use-JSL-to-automatically-select-the-specified-color/m-p/280259#M54315</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2020-07-19T20:55:04Z</dc:date>
    </item>
  </channel>
</rss>

