<?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: Setting Row Color and Markers to column in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Setting-Row-Color-and-Markers-to-column/m-p/41144#M23989</link>
    <description>&lt;P&gt;Of course there is :)&lt;/img&gt;&lt;/P&gt;
&lt;P&gt;What I suggest you do, is to interactively generate the Value Colors for a given column, and then "Get" the property in a script, and you will see the format of the msg you need to use to "Set" the column property&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Help==&amp;gt;Scripting Index==&amp;gt;Data Table==&amp;gt;Column Scripting==&amp;gt;Get Property&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Example:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;ColorList = :MyColumn &amp;lt;&amp;lt; Get Property( "Value Colors" );&lt;/P&gt;</description>
    <pubDate>Fri, 23 Jun 2017 18:44:56 GMT</pubDate>
    <dc:creator>txnelson</dc:creator>
    <dc:date>2017-06-23T18:44:56Z</dc:date>
    <item>
      <title>Setting Row Color and Markers to column</title>
      <link>https://community.jmp.com/t5/Discussions/Setting-Row-Color-and-Markers-to-column/m-p/41131#M23985</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am running a report which uses a graph from graph builder and below it is a bivariate graph(use script below). When I run the script, the colors do not match up accross the age, how can I force it to where the colors are the same accross both graphs?&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");

GB = H List Box(
	dt &amp;lt;&amp;lt; Graph Builder(
	Size( 528, 454 ),
	Show Control Panel( 0 ),
	Variables( X( :weight ), Y( :height ), Color( :age ) ),
	Elements( Points( X, Y, Legend( 18 ) ), Smoother( X, Y, Legend( 19 ) ) )
));

Biv = H List Box(
	dt &amp;lt;&amp;lt; Bivariate(
	Y( :height ),
	X( :weight ),
	Automatic Recalc( 1 ),
	SendToReport(
		Dispatch(
			{},
			"Bivar Plot",
			FrameBox,
			{Row Legend(
				sex,
				Color( 0 ),
				Color Theme( "" ),
				Marker( 1 ),
				Marker Theme( "Standard" ),
				Continuous Scale( 0 ),
				Reverse Scale( 0 ),
				Excluded Rows( 0 )
			)}
		)
	)
));



DTFilter = H List Box(
	dt &amp;lt;&amp;lt; Data Filter(
	Location( {1978, 58} ),
	Conditional,
	Mode( Include( 1 ) ),
	Add Filter(
		columns(  :sex, :name ),
		Display( :name, Size( 160, 225 ), List Display )
	)
));

dt &amp;lt;&amp;lt; Color by Column( :age );
dt&amp;lt;&amp;lt; Marker by Column( :sex );

output = New Window( "Trend Analysis", Hlistbox(DTFilter, Vlistbox(GB, Biv)));&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jun 2017 16:29:24 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Setting-Row-Color-and-Markers-to-column/m-p/41131#M23985</guid>
      <dc:creator>Ksrzg01</dc:creator>
      <dc:date>2017-06-23T16:29:24Z</dc:date>
    </item>
    <item>
      <title>Re: Setting Row Color and Markers to column</title>
      <link>https://community.jmp.com/t5/Discussions/Setting-Row-Color-and-Markers-to-column/m-p/41133#M23986</link>
      <description>Set the Value Colors, Column Property for the column :Age to the colors you want, and the platforms will default to the colors you have set</description>
      <pubDate>Fri, 23 Jun 2017 17:10:09 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Setting-Row-Color-and-Markers-to-column/m-p/41133#M23986</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2017-06-23T17:10:09Z</dc:date>
    </item>
    <item>
      <title>Re: Setting Row Color and Markers to column</title>
      <link>https://community.jmp.com/t5/Discussions/Setting-Row-Color-and-Markers-to-column/m-p/41141#M23988</link>
      <description>&lt;P&gt;Thanks for the reply, is there a way to script this?&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jun 2017 18:19:16 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Setting-Row-Color-and-Markers-to-column/m-p/41141#M23988</guid>
      <dc:creator>Ksrzg01</dc:creator>
      <dc:date>2017-06-23T18:19:16Z</dc:date>
    </item>
    <item>
      <title>Re: Setting Row Color and Markers to column</title>
      <link>https://community.jmp.com/t5/Discussions/Setting-Row-Color-and-Markers-to-column/m-p/41144#M23989</link>
      <description>&lt;P&gt;Of course there is :)&lt;/img&gt;&lt;/P&gt;
&lt;P&gt;What I suggest you do, is to interactively generate the Value Colors for a given column, and then "Get" the property in a script, and you will see the format of the msg you need to use to "Set" the column property&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Help==&amp;gt;Scripting Index==&amp;gt;Data Table==&amp;gt;Column Scripting==&amp;gt;Get Property&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Example:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;ColorList = :MyColumn &amp;lt;&amp;lt; Get Property( "Value Colors" );&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jun 2017 18:44:56 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Setting-Row-Color-and-Markers-to-column/m-p/41144#M23989</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2017-06-23T18:44:56Z</dc:date>
    </item>
  </channel>
</rss>

