<?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 Questions regarding box plot graphics in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Questions-regarding-box-plot-graphics/m-p/227493#M45131</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;BR /&gt;Im doing some box plots and got some trouble regarding the spacing between boxed etc.&amp;nbsp;&lt;BR /&gt;To get points separated I moved Gender from overlay to the X-axis (see pictures). However, the spacing changed so thereäs more empty space between boxes. Makes sense so the points can be seen and jittered. However I would like to try with less space between and use transparent points. But can't find any solution/option to change this? Also, would like some option to color/change ALL boxes att the same time, like holding Ctrl and clicking could've done..&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Without points&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JMPBOX.PNG" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/19494i8305B6F207F20429/image-size/large?v=v2&amp;amp;px=999" role="button" title="JMPBOX.PNG" alt="JMPBOX.PNG" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;With points, and sex on X-axis instead of overlay.&amp;nbsp;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JMPBOX2.PNG" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/19495iCCF6958F3F560ADD/image-size/large?v=v2&amp;amp;px=999" role="button" title="JMPBOX2.PNG" alt="JMPBOX2.PNG" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 27 Sep 2019 12:48:59 GMT</pubDate>
    <dc:creator>Jonkandonkan</dc:creator>
    <dc:date>2019-09-27T12:48:59Z</dc:date>
    <item>
      <title>Questions regarding box plot graphics</title>
      <link>https://community.jmp.com/t5/Discussions/Questions-regarding-box-plot-graphics/m-p/227493#M45131</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;BR /&gt;Im doing some box plots and got some trouble regarding the spacing between boxed etc.&amp;nbsp;&lt;BR /&gt;To get points separated I moved Gender from overlay to the X-axis (see pictures). However, the spacing changed so thereäs more empty space between boxes. Makes sense so the points can be seen and jittered. However I would like to try with less space between and use transparent points. But can't find any solution/option to change this? Also, would like some option to color/change ALL boxes att the same time, like holding Ctrl and clicking could've done..&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Without points&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JMPBOX.PNG" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/19494i8305B6F207F20429/image-size/large?v=v2&amp;amp;px=999" role="button" title="JMPBOX.PNG" alt="JMPBOX.PNG" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;With points, and sex on X-axis instead of overlay.&amp;nbsp;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JMPBOX2.PNG" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/19495iCCF6958F3F560ADD/image-size/large?v=v2&amp;amp;px=999" role="button" title="JMPBOX2.PNG" alt="JMPBOX2.PNG" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Sep 2019 12:48:59 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Questions-regarding-box-plot-graphics/m-p/227493#M45131</guid>
      <dc:creator>Jonkandonkan</dc:creator>
      <dc:date>2019-09-27T12:48:59Z</dc:date>
    </item>
    <item>
      <title>Re: Questions regarding box plot graphics</title>
      <link>https://community.jmp.com/t5/Discussions/Questions-regarding-box-plot-graphics/m-p/227893#M45214</link>
      <description>&lt;P&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/14849"&gt;@Jonkandonkan&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There are JMP Scripting Language methods that can make easy work of changing all boxplots (BoxplotSeg) at once.&amp;nbsp; For example, once the target window is found, say ::_curWin represents the current window, something like this can be used.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;_boxseg = (::_curWin &amp;lt;&amp;lt; Child) &amp;lt;&amp;lt; Xpath("//BoxPlotSeg");

_boxseg &amp;lt;&amp;lt; {Line Color({0,0,0}), Confidence Diamond( 0 ), Fences( 1 ),
			 Line Width( 2 ), Transparency(1.0)
			};&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note that ::_curWin can be found by defining a HotKey (I use Ctrl+Alt+G).&amp;nbsp; However, the script becomes a little more involved if you want this done for windows that might have multiple boxplot graphs and if you are wanting points and not filled, or filled with an overlay color.&amp;nbsp; For example, for filled boxplots, each boxplot segment color needs to be determined then&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;_boxseg = (::_curWin &amp;lt;&amp;lt; Child) &amp;lt;&amp;lt; Xpath("//BoxPlotSeg");

for(i=1, i&amp;lt;=nitems(_boxseg), i++,
fc = _boxseg[i] &amp;lt;&amp;lt; get fill color;
_boxseg[i] &amp;lt;&amp;lt; {BoxStyle("Normal"), Line Color({0,0,0}), Confidence Diamond( 0 ), Fences( 1 ),
			 Line Width( 2 ), Transparency(1.0), Fill Color(fc)
			};
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;An add-in can be created to do this. It could even provide a dialog, so for the specific window a Confidence Diamond could be turned on or the lower half, etc.&amp;nbsp; Below is a screen shot, of a simple Add-in with an assigned hot key sequence (Ctrl + Alt + G). This add-in would need to run once for each session or at startup.&amp;nbsp; Following this screenshot is an example of a "Before" boxplot and the boxplot "After" typing Ctrl + Alt + G while the window is highlighted.&amp;nbsp; If you can be more precise, about what you need, provide a data set and saved script/settings, an Add-In can be created that will likely work for most cases.&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="image.png" style="width: 944px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/19523i7D230632603E6924/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&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="Before" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/19524i21A02C3AED4491CF/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="Before" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Before&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="After" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/19525iBF38AA4C4039AC7E/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="After" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;After&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Oct 2019 11:04:21 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Questions-regarding-box-plot-graphics/m-p/227893#M45214</guid>
      <dc:creator>gzmorgan0</dc:creator>
      <dc:date>2019-10-02T11:04:21Z</dc:date>
    </item>
    <item>
      <title>Re: Questions regarding box plot graphics</title>
      <link>https://community.jmp.com/t5/Discussions/Questions-regarding-box-plot-graphics/m-p/228004#M45238</link>
      <description>hi gzmorgan0:&lt;BR /&gt;How can I get the add-in function?&lt;BR /&gt;</description>
      <pubDate>Thu, 03 Oct 2019 10:20:49 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Questions-regarding-box-plot-graphics/m-p/228004#M45238</guid>
      <dc:creator>EricTsai</dc:creator>
      <dc:date>2019-10-03T10:20:49Z</dc:date>
    </item>
  </channel>
</rss>

