<?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: Control markers and colors in Graph Builder script in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Control-markers-and-colors-in-Graph-Builder-script/m-p/380367#M63076</link>
    <description>&lt;P&gt;I can see that this will work in the example given where the&amp;nbsp;values of the grouping column (Ages) are known. However, in my application the values of the grouping column will be new every time.&amp;nbsp;&lt;/P&gt;&lt;P&gt;And also I was hoping to find a solution that did not involve changing the column properties since other graphs using the same data table should have normal colors and markers.&lt;/P&gt;</description>
    <pubDate>Wed, 28 Apr 2021 10:51:35 GMT</pubDate>
    <dc:creator>peter_t</dc:creator>
    <dc:date>2021-04-28T10:51:35Z</dc:date>
    <item>
      <title>Control markers and colors in Graph Builder script</title>
      <link>https://community.jmp.com/t5/Discussions/Control-markers-and-colors-in-Graph-Builder-script/m-p/380004#M63008</link>
      <description>&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am building a script to make a graph using graph builder. The resulting graph builder figure have to be in black/white/grayscales, and should only contain filled/solid markers. An example of what I would like is shown here&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="peter_t_0-1619514381740.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/32361iA8C2135BB08D2DCD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="peter_t_0-1619514381740.png" alt="peter_t_0-1619514381740.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I do not know the names or number of overlay-levels (Ages in the Big Class example).&lt;/P&gt;&lt;P&gt;I have attempted using Color Theme and Graph Marker Theme within Legend Model Properties to control the color and markers. However, this does not change the color or markers.&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=dt &amp;lt;&amp;lt; Graph Builder(
	Variables( X( :height ), Y( :weight ), Overlay( :age ) , Color( :age )),
	Elements( Points( X, Y, Legend( 15 ) ), Smoother( X, Y, Legend( 16 ) ) ),
	SendToReport(
		Dispatch(
			{},
			"400",
			ScaleBox,
			{Legend Model(
				15,
				Properties({Color Theme( "White to Black" ), Graph Marker Theme( "Solid" )})),
			Legend Model(
				16,
				Properties({Color Theme( "White to Black" ), Graph Marker Theme( "Solid" )}))
			}	
	)
));&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Anybody has a suggestion on how to control the colors to black/white/gray and the markers to solid/filled?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;</description>
      <pubDate>Sun, 11 Jun 2023 11:13:31 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Control-markers-and-colors-in-Graph-Builder-script/m-p/380004#M63008</guid>
      <dc:creator>peter_t</dc:creator>
      <dc:date>2023-06-11T11:13:31Z</dc:date>
    </item>
    <item>
      <title>Re: Control markers and colors in Graph Builder script</title>
      <link>https://community.jmp.com/t5/Discussions/Control-markers-and-colors-in-Graph-Builder-script/m-p/380013#M63009</link>
      <description>&lt;P&gt;Hi Peter&lt;/P&gt;&lt;P&gt;is it possible that setting the column properties&amp;nbsp; first (value colors) solves the issue you have?&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="mlo1_0-1619516116806.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/32363iD64E31E8A62EC0ED/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mlo1_0-1619516116806.png" alt="mlo1_0-1619516116806.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;// Change column property: age&lt;BR /&gt;Data Table( "Big Class" ):age &amp;lt;&amp;lt; Set Property(&lt;BR /&gt;"Value Colors",&lt;BR /&gt;{12 = -14013909, 13 = -11184810, 14 = -8421504, 15 = -5592405, 16 = -2763306, 17&lt;BR /&gt;= 0}&lt;BR /&gt;);&lt;/P&gt;</description>
      <pubDate>Tue, 27 Apr 2021 09:38:17 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Control-markers-and-colors-in-Graph-Builder-script/m-p/380013#M63009</guid>
      <dc:creator>mlo1</dc:creator>
      <dc:date>2021-04-27T09:38:17Z</dc:date>
    </item>
    <item>
      <title>Re: Control markers and colors in Graph Builder script</title>
      <link>https://community.jmp.com/t5/Discussions/Control-markers-and-colors-in-Graph-Builder-script/m-p/380367#M63076</link>
      <description>&lt;P&gt;I can see that this will work in the example given where the&amp;nbsp;values of the grouping column (Ages) are known. However, in my application the values of the grouping column will be new every time.&amp;nbsp;&lt;/P&gt;&lt;P&gt;And also I was hoping to find a solution that did not involve changing the column properties since other graphs using the same data table should have normal colors and markers.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Apr 2021 10:51:35 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Control-markers-and-colors-in-Graph-Builder-script/m-p/380367#M63076</guid>
      <dc:creator>peter_t</dc:creator>
      <dc:date>2021-04-28T10:51:35Z</dc:date>
    </item>
  </channel>
</rss>

