<?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 Overlay plot including both grouped and ungrouped column data in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Overlay-plot-including-both-grouped-and-ungrouped-column-data/m-p/53494#M30261</link>
    <description>&lt;P&gt;I have a column of continuous y-data that I want to graph against an&amp;nbsp;x-axis (time, in this case). There is also a grouping column&amp;nbsp;that distinguishes the y-data into several groups.&lt;/P&gt;&lt;P&gt;I want an easy way to automate production of a series of graphs, each of which shows the results for a single group overlayed on the results of the aggregate (ungrouped) data. So, let's say there are 10 groups. I'd like to produce 10 graphs. Graph&amp;nbsp;#1&amp;nbsp;would show&amp;nbsp;the aggregate data overlaid on Group 1's&amp;nbsp;data; graph #2 would show&amp;nbsp;&lt;SPAN&gt;show&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;the aggregate data &lt;/SPAN&gt;&lt;SPAN&gt;overlaid on Group 2's&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;data; and so on.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;In each graph, I'd like to distinguish the grouped data by using a different color from the aggregate data, and I'd also like to include&amp;nbsp;linear fit in appropriate color to&amp;nbsp;the group data and to&amp;nbsp;the aggregate data.&lt;/P&gt;&lt;P&gt;What's the best way to do this (by hand or via JSL; using graph builder or overlay plot; etc.)?&lt;/P&gt;</description>
    <pubDate>Wed, 21 Mar 2018 00:08:05 GMT</pubDate>
    <dc:creator>john_madden</dc:creator>
    <dc:date>2018-03-21T00:08:05Z</dc:date>
    <item>
      <title>Overlay plot including both grouped and ungrouped column data</title>
      <link>https://community.jmp.com/t5/Discussions/Overlay-plot-including-both-grouped-and-ungrouped-column-data/m-p/53494#M30261</link>
      <description>&lt;P&gt;I have a column of continuous y-data that I want to graph against an&amp;nbsp;x-axis (time, in this case). There is also a grouping column&amp;nbsp;that distinguishes the y-data into several groups.&lt;/P&gt;&lt;P&gt;I want an easy way to automate production of a series of graphs, each of which shows the results for a single group overlayed on the results of the aggregate (ungrouped) data. So, let's say there are 10 groups. I'd like to produce 10 graphs. Graph&amp;nbsp;#1&amp;nbsp;would show&amp;nbsp;the aggregate data overlaid on Group 1's&amp;nbsp;data; graph #2 would show&amp;nbsp;&lt;SPAN&gt;show&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;the aggregate data &lt;/SPAN&gt;&lt;SPAN&gt;overlaid on Group 2's&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;data; and so on.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;In each graph, I'd like to distinguish the grouped data by using a different color from the aggregate data, and I'd also like to include&amp;nbsp;linear fit in appropriate color to&amp;nbsp;the group data and to&amp;nbsp;the aggregate data.&lt;/P&gt;&lt;P&gt;What's the best way to do this (by hand or via JSL; using graph builder or overlay plot; etc.)?&lt;/P&gt;</description>
      <pubDate>Wed, 21 Mar 2018 00:08:05 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Overlay-plot-including-both-grouped-and-ungrouped-column-data/m-p/53494#M30261</guid>
      <dc:creator>john_madden</dc:creator>
      <dc:date>2018-03-21T00:08:05Z</dc:date>
    </item>
    <item>
      <title>Re: Overlay plot including both grouped and ungrouped column data</title>
      <link>https://community.jmp.com/t5/Discussions/Overlay-plot-including-both-grouped-and-ungrouped-column-data/m-p/53511#M30268</link>
      <description>One way is to create 10 new indicator columns, which divide the Y into two groups e.g. IsGroup1/IsNotGroup1, IsGroup2/IsNotGroup...&lt;BR /&gt;&lt;BR /&gt;In graph builder put time as X, Y as Y (summarised as desired) and the indicator column as overlay. Using a script, send this to a journal and then loop over the remaining indicator columns (with a column switcher).&lt;BR /&gt;&lt;BR /&gt;Alternatively the data were in a stacked format (10 duplicates for the 10 graphs) you could use page or wrap in graph builder to have them all in a single window.&lt;BR /&gt;&lt;BR /&gt;(optional depending on how you want to aggregate the data) You could use the Column Statistical functions such as 'Col Mean' on Y where the byVariables are time and one of the indicator columns. The second set of 10 columns would contain the Y's summarised correctly.</description>
      <pubDate>Wed, 21 Mar 2018 13:11:28 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Overlay-plot-including-both-grouped-and-ungrouped-column-data/m-p/53511#M30268</guid>
      <dc:creator>stephen_pearson</dc:creator>
      <dc:date>2018-03-21T13:11:28Z</dc:date>
    </item>
  </channel>
</rss>

