<?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: Legend based on 2 columns in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Legend-based-on-2-columns/m-p/28861#M19203</link>
    <description>&lt;P&gt;Here is an example using Graph Builder.&amp;nbsp; Population is on the Y axis, I couldn't tell what you were using for your X axis so I just chose Ozone level.&amp;nbsp; I Overlayed by State and Colored by City.&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Cities by states.png" style="width: 990px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/3955i50517B3892316806/image-size/large?v=v2&amp;amp;px=999" role="button" title="Cities by states.png" alt="Cities by states.png" /&gt;&lt;/span&gt;﻿&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 07 Nov 2016 19:29:28 GMT</pubDate>
    <dc:creator>txnelson</dc:creator>
    <dc:date>2016-11-07T19:29:28Z</dc:date>
    <item>
      <title>Legend based on 2 columns</title>
      <link>https://community.jmp.com/t5/Discussions/Legend-based-on-2-columns/m-p/28852#M19201</link>
      <description>&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a huge data table like following&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Continent &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;State &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;City &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Population&lt;/P&gt;&lt;P&gt;USA &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Pennsylvania &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Philadelphia &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ----&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;SPAN&gt;USA &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Pennsylvania&lt;/SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Harrisburg &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;----&lt;/P&gt;&lt;P&gt;USA &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;California &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;San Diego&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;USA &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;California&lt;/SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; San Fransisco&lt;/P&gt;&lt;P&gt;&amp;nbsp;Europe &amp;nbsp; &amp;nbsp; &amp;nbsp; France &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Paris&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;Europe &amp;nbsp; &amp;nbsp; &amp;nbsp; France&lt;/SPAN&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; another_city_in_France&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am creating a scatter plot of the population. &amp;nbsp;In order to put a legend, I want to use a unique marker for each state.&lt;/P&gt;&lt;P&gt;Then for each state , I want to color that marker differently corresponding to each city.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know if I do row legend, I can color by a particular &amp;nbsp;column. But if I need to color and mark in above mentioned way, I want to know the most efficient way to do it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Right now I create a summary of state and then assign markers.&lt;/P&gt;&lt;P&gt;Then I select all rows corresponding to a particular state and assign colors to that set manually, which is very inefficient for the long data table.&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;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Nov 2016 18:28:56 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Legend-based-on-2-columns/m-p/28852#M19201</guid>
      <dc:creator>rahulsmils</dc:creator>
      <dc:date>2016-11-07T18:28:56Z</dc:date>
    </item>
    <item>
      <title>Re: Legend based on 2 columns</title>
      <link>https://community.jmp.com/t5/Discussions/Legend-based-on-2-columns/m-p/28861#M19203</link>
      <description>&lt;P&gt;Here is an example using Graph Builder.&amp;nbsp; Population is on the Y axis, I couldn't tell what you were using for your X axis so I just chose Ozone level.&amp;nbsp; I Overlayed by State and Colored by City.&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Cities by states.png" style="width: 990px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/3955i50517B3892316806/image-size/large?v=v2&amp;amp;px=999" role="button" title="Cities by states.png" alt="Cities by states.png" /&gt;&lt;/span&gt;﻿&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Nov 2016 19:29:28 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Legend-based-on-2-columns/m-p/28861#M19203</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2016-11-07T19:29:28Z</dc:date>
    </item>
  </channel>
</rss>

