<?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: How to add lines (specs, targets) to a histogram in graph builder while using local data filter? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-add-lines-specs-targets-to-a-histogram-in-graph-builder/m-p/261227#M51124</link>
    <description>&lt;P&gt;Just adding to&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/2687"&gt;@txnelson&lt;/a&gt;&amp;nbsp;, he is changing the 'filtering' process from rows with a Data Filter to columns with the Column Switcher. You can add a Column Switcher from the red triangle in Graph Builder.&lt;/P&gt;</description>
    <pubDate>Sat, 25 Apr 2020 12:49:43 GMT</pubDate>
    <dc:creator>Mark_Bailey</dc:creator>
    <dc:date>2020-04-25T12:49:43Z</dc:date>
    <item>
      <title>How to add lines (specs, targets) to a histogram in graph builder while using local data filter?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-add-lines-specs-targets-to-a-histogram-in-graph-builder/m-p/261178#M51111</link>
      <description>&lt;P&gt;I have a lot of data (&amp;gt; 6,000) in one column for many different products. In another column I have product name and, in total, 12 different products covering these &amp;gt; 6,000 data.&lt;/P&gt;&lt;P&gt;In graph builder I can make a basic histogram of all data and then use local data filter to see a histogram of the data only for the product selected. This works nicely but is incomplete because I want to view each histogram (for each product) in relation to target and spec values.&lt;/P&gt;&lt;P&gt;In attached JMP file I show an example with two products only called A and B, 50 values each.&lt;/P&gt;&lt;P&gt;As I move through each product using the local data filter I would like that each histogram displays vertical lines to represent the specs, target and declared values. An example is in the attached PNG file.&lt;/P&gt;&lt;P&gt;Can I use graph builder without JSL to create the histogram picture I want?&lt;/P&gt;&lt;P&gt;Or, must I go more complicated and use e.g. scripting to create new reference lines for each product as I navigate through using the local data filter? (Each product in my data has different spec values, different target values etc...)&lt;/P&gt;&lt;P&gt;Any ideas on how to do this in a simple way would be great and appreciated. I could script it, but if there's an easier I'd rather follow the simpler path.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Apr 2020 22:39:02 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-add-lines-specs-targets-to-a-histogram-in-graph-builder/m-p/261178#M51111</guid>
      <dc:creator>scottahindle</dc:creator>
      <dc:date>2020-04-24T22:39:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to add lines (specs, targets) to a histogram in graph builder while using local data filter?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-add-lines-specs-targets-to-a-histogram-in-graph-builder/m-p/261188#M51114</link>
      <description>&lt;P&gt;JMP has a built in feature that will automatically display Spec Limits, LSL, Target &amp;amp; USL, on most charts, if the Spec Limits column property for each column is populated.&amp;nbsp; JMP also has a platform called "Manage Spec Limits" that allows one to take limits from a data table and populate the Spec Limits column property for the various columns in a data table.&amp;nbsp; The limits are of course saved with the data table when the table is saved to one's hard drive.&amp;nbsp; So you only have to populate the limits once.&amp;nbsp; The issue with your data, is that it is not in separate columns.&amp;nbsp; So to use this method, you will have to use Tables==&amp;gt;Split to separate each product into a separate column.&amp;nbsp; Easily done.&amp;nbsp; Then a simple Tables==&amp;gt;Summary grouping by Product, and adding a new column to the resulting data table you will have a limits table that using "Manage Spec Limits" platform will allow you to populate all of the columns in the data table with the limits from the limits table.&amp;nbsp; Then when you run your Graph Builder, the limits will automatically appear on every histogram. &amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="histo.PNG" style="width: 509px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/23439iA7977D01BCD1A34B/image-size/large?v=v2&amp;amp;px=999" role="button" title="histo.PNG" alt="histo.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I have attached my data table, with an embedded script that produces the histograms, and also a copy of a limits table that can be used as a model for your needs.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 25 Apr 2020 01:41:49 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-add-lines-specs-targets-to-a-histogram-in-graph-builder/m-p/261188#M51114</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2020-04-25T01:41:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to add lines (specs, targets) to a histogram in graph builder while using local data filter?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-add-lines-specs-targets-to-a-histogram-in-graph-builder/m-p/261227#M51124</link>
      <description>&lt;P&gt;Just adding to&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/2687"&gt;@txnelson&lt;/a&gt;&amp;nbsp;, he is changing the 'filtering' process from rows with a Data Filter to columns with the Column Switcher. You can add a Column Switcher from the red triangle in Graph Builder.&lt;/P&gt;</description>
      <pubDate>Sat, 25 Apr 2020 12:49:43 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-add-lines-specs-targets-to-a-histogram-in-graph-builder/m-p/261227#M51124</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2020-04-25T12:49:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to add lines (specs, targets) to a histogram in graph builder while using local data filter?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-add-lines-specs-targets-to-a-histogram-in-graph-builder/m-p/261312#M51145</link>
      <description>&lt;P&gt;Thanks, Jim, as always for your helpful comments.&lt;/P&gt;&lt;P&gt;Note, that in my case I want to deviate away from the usual column property of "spec limits" that allows me to work with LSL, Target and USL because I have FOUR reference lines of interest. Using the histogram I want to assess the situation vs. these four lines.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am currently building on your file to script the solution so for each histogram I add four reference lines and make sure the min/max values on the axis are appropriate. This works well but I was wondering if there is a simpler way to manage this using graph builder where I could tweak the Elements e.g. Line and Histogram and use the data filter to switch between product. If so, I would have thought a JSL-free solution could have been forthcoming.&lt;/P&gt;&lt;P&gt;If you've any further thoughts please let me know.&lt;/P&gt;</description>
      <pubDate>Sat, 25 Apr 2020 21:29:55 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-add-lines-specs-targets-to-a-histogram-in-graph-builder/m-p/261312#M51145</guid>
      <dc:creator>scottahindle</dc:creator>
      <dc:date>2020-04-25T21:29:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to add lines (specs, targets) to a histogram in graph builder while using local data filter?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-add-lines-specs-targets-to-a-histogram-in-graph-builder/m-p/450752#M69765</link>
      <description>&lt;P&gt;can also pull limits from a predefined table and define them with jsl (example from "scripting help"):&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Cities.jmp" );
obj = dt &amp;lt;&amp;lt; Process Capability(
    Process Variables( :OZONE, :CO, :SO2, :NO ),
    Spec Limits( Import Spec Limits( "$SAMPLE_DATA/CitySpecLimits.jmp" ) )
);
obj &amp;lt;&amp;lt; Save Spec Limits as Column Properties;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 12 Jan 2022 14:57:17 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-add-lines-specs-targets-to-a-histogram-in-graph-builder/m-p/450752#M69765</guid>
      <dc:creator>Boaz</dc:creator>
      <dc:date>2022-01-12T14:57:17Z</dc:date>
    </item>
  </channel>
</rss>

