<?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 Understanding the Dispatch and Legend Model and what exactly is Base(0,0,0)? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Understanding-the-Dispatch-and-Legend-Model-and-what-exactly-is/m-p/36388#M21376</link>
    <description>&lt;P&gt;My problem is two fold.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Im writing a JSL Function to create some custom charts at work. Everything is working fine. Thats great. But I dont understand why - and I am trying to break down the code. Most of I wrote myself, but some aspects I made the tweaks within JMP, copied the scripts and used the parts that generated what I needed. Some of the code chunks that get added in are intuitive to read and I can add their functionality to my vocabulary/understanding of JMP. But others are painfully non-intuitive. Couple with this the lack of working examples and absolute non existence of those code chunks in the scripting guides and Im left at a loss as to what these pieces of the puzzle do.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In summary, sure what I do works. But I dont know why some of it works and that bothers me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Within a dispatch, when I modify the colors of points and copy the resulting code I get the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Legend Model(
1,
Base( 0, 0, 0 ),
Base( 1, 0, 1 )&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;etc etc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What in the name of heck is Base(0,0,0) etc doing? Because when I remove it, it has no implications - so what was it intending to do?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also after those base functions are finished, the following is used:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Properties( 0, {Line Color( 0 ), Marker( "X" ), Fill Color( 0 )} ), &lt;/PRE&gt;&lt;P&gt;etc etc&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Why is it that Line Color actually effects the marker color and fill color does not? And if it does not, then why is Fill Color (0) even added?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, when Im specifying the colors of the lines in my graph, then why does&amp;nbsp;Properties(0, {Line Color(0)}), seem to act as though it sets the line color to whatever the default order of colors is, even though 0 should represent the color black?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;These are very specific queries I cannot find the answer to through the JMP Guides available.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So my last question is - how can I find answers to these kind of questions through a guide of some sort? Because not even the words 'Legend Model' are searchable in the JSL Syntax guides.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance to anyone who can respond to this query.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 09 Jun 2023 23:23:38 GMT</pubDate>
    <dc:creator>kevinwtbolger</dc:creator>
    <dc:date>2023-06-09T23:23:38Z</dc:date>
    <item>
      <title>Understanding the Dispatch and Legend Model and what exactly is Base(0,0,0)?</title>
      <link>https://community.jmp.com/t5/Discussions/Understanding-the-Dispatch-and-Legend-Model-and-what-exactly-is/m-p/36388#M21376</link>
      <description>&lt;P&gt;My problem is two fold.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Im writing a JSL Function to create some custom charts at work. Everything is working fine. Thats great. But I dont understand why - and I am trying to break down the code. Most of I wrote myself, but some aspects I made the tweaks within JMP, copied the scripts and used the parts that generated what I needed. Some of the code chunks that get added in are intuitive to read and I can add their functionality to my vocabulary/understanding of JMP. But others are painfully non-intuitive. Couple with this the lack of working examples and absolute non existence of those code chunks in the scripting guides and Im left at a loss as to what these pieces of the puzzle do.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In summary, sure what I do works. But I dont know why some of it works and that bothers me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Within a dispatch, when I modify the colors of points and copy the resulting code I get the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Legend Model(
1,
Base( 0, 0, 0 ),
Base( 1, 0, 1 )&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;etc etc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What in the name of heck is Base(0,0,0) etc doing? Because when I remove it, it has no implications - so what was it intending to do?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also after those base functions are finished, the following is used:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Properties( 0, {Line Color( 0 ), Marker( "X" ), Fill Color( 0 )} ), &lt;/PRE&gt;&lt;P&gt;etc etc&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Why is it that Line Color actually effects the marker color and fill color does not? And if it does not, then why is Fill Color (0) even added?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, when Im specifying the colors of the lines in my graph, then why does&amp;nbsp;Properties(0, {Line Color(0)}), seem to act as though it sets the line color to whatever the default order of colors is, even though 0 should represent the color black?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;These are very specific queries I cannot find the answer to through the JMP Guides available.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So my last question is - how can I find answers to these kind of questions through a guide of some sort? Because not even the words 'Legend Model' are searchable in the JSL Syntax guides.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance to anyone who can respond to this query.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 23:23:38 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Understanding-the-Dispatch-and-Legend-Model-and-what-exactly-is/m-p/36388#M21376</guid>
      <dc:creator>kevinwtbolger</dc:creator>
      <dc:date>2023-06-09T23:23:38Z</dc:date>
    </item>
  </channel>
</rss>

