<?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 How to create a graph builder box plot with mean values, and including the &amp;quot;group X&amp;quot; variable in the legend in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-create-a-graph-builder-box-plot-with-mean-values-and/m-p/480602#M72503</link>
    <description>&lt;P&gt;I'm using JMP 16.2.0 and I'm trying to automatically generate a graph builder with box plots and their mean values with the group X variable as the color. I'm using a bar chart with style=floating to display the mean value (inspired by &lt;A href="https://community.jmp.com/t5/Discussions/Show-means-on-box-plot-in-graph-builder/td-p/67947" target="_self"&gt;this topic&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;My current graph:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mvanderaa1_1-1650452126515.png" style="width: 535px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/41908i11AE23261BD8399B/image-dimensions/535x278?v=v2" width="535" height="278" role="button" title="mvanderaa1_1-1650452126515.png" alt="mvanderaa1_1-1650452126515.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This is almost what I want, except for a few things.&lt;/P&gt;&lt;P&gt;1. I'd like the Group X variable (Recipe) to be visible in the legend as well. One way I tried it is to use Color=Recipe in the graph builder (see image below). This produces a double entry for each grouping variable value however, and the horizontal line for the mean is no longer black. Can the duplicate entries be removed automatically? And how do I change the mean line color? Note that the number of distinct values of the "Recipe" variable can vary for different data sets.&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="mvanderaa1_2-1650452409158.png" style="width: 540px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/41909i71D11387B992CDBF/image-dimensions/540x259?v=v2" width="540" height="259" role="button" title="mvanderaa1_2-1650452409158.png" alt="mvanderaa1_2-1650452409158.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;2. When the number of Recipe values is low, the mean value line becomes very wide with respect to the box plot. Can this be scripted to be equal to the box's width?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mvanderaa1_0-1650452105243.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/41907iB403836DFF5E9A2F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mvanderaa1_0-1650452105243.png" alt="mvanderaa1_0-1650452105243.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;3. There is no padding between the mean line and the value label, which looks quite odd. Again, can all values be shifted automatically?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mvanderaa1_3-1650452856058.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/41910i07B5DE09B29205B9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mvanderaa1_3-1650452856058.png" alt="mvanderaa1_3-1650452856058.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Attached is my jmp file with the script for the two graphs shown above, any help will be appreciated&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 11 Jun 2023 11:23:51 GMT</pubDate>
    <dc:creator>mvanderaa1</dc:creator>
    <dc:date>2023-06-11T11:23:51Z</dc:date>
    <item>
      <title>How to create a graph builder box plot with mean values, and including the "group X" variable in the legend</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-create-a-graph-builder-box-plot-with-mean-values-and/m-p/480602#M72503</link>
      <description>&lt;P&gt;I'm using JMP 16.2.0 and I'm trying to automatically generate a graph builder with box plots and their mean values with the group X variable as the color. I'm using a bar chart with style=floating to display the mean value (inspired by &lt;A href="https://community.jmp.com/t5/Discussions/Show-means-on-box-plot-in-graph-builder/td-p/67947" target="_self"&gt;this topic&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;My current graph:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mvanderaa1_1-1650452126515.png" style="width: 535px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/41908i11AE23261BD8399B/image-dimensions/535x278?v=v2" width="535" height="278" role="button" title="mvanderaa1_1-1650452126515.png" alt="mvanderaa1_1-1650452126515.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This is almost what I want, except for a few things.&lt;/P&gt;&lt;P&gt;1. I'd like the Group X variable (Recipe) to be visible in the legend as well. One way I tried it is to use Color=Recipe in the graph builder (see image below). This produces a double entry for each grouping variable value however, and the horizontal line for the mean is no longer black. Can the duplicate entries be removed automatically? And how do I change the mean line color? Note that the number of distinct values of the "Recipe" variable can vary for different data sets.&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="mvanderaa1_2-1650452409158.png" style="width: 540px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/41909i71D11387B992CDBF/image-dimensions/540x259?v=v2" width="540" height="259" role="button" title="mvanderaa1_2-1650452409158.png" alt="mvanderaa1_2-1650452409158.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;2. When the number of Recipe values is low, the mean value line becomes very wide with respect to the box plot. Can this be scripted to be equal to the box's width?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mvanderaa1_0-1650452105243.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/41907iB403836DFF5E9A2F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mvanderaa1_0-1650452105243.png" alt="mvanderaa1_0-1650452105243.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;3. There is no padding between the mean line and the value label, which looks quite odd. Again, can all values be shifted automatically?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mvanderaa1_3-1650452856058.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/41910i07B5DE09B29205B9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mvanderaa1_3-1650452856058.png" alt="mvanderaa1_3-1650452856058.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Attached is my jmp file with the script for the two graphs shown above, any help will be appreciated&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 11 Jun 2023 11:23:51 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-create-a-graph-builder-box-plot-with-mean-values-and/m-p/480602#M72503</guid>
      <dc:creator>mvanderaa1</dc:creator>
      <dc:date>2023-06-11T11:23:51Z</dc:date>
    </item>
  </channel>
</rss>

