<?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 can align the points inside their respective boxes in Box plot (when an overlay is applied) in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-can-align-the-points-inside-their-respective-boxes-in-Box/m-p/844535#M101872</link>
    <description>&lt;P&gt;How can align the points inside their respective boxes in Box plot (when an overlay is applied)&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HV0508_0-1740590424527.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/73363i612D66257A39B731/image-size/medium?v=v2&amp;amp;px=400" role="button" title="HV0508_0-1740590424527.png" alt="HV0508_0-1740590424527.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;i have a data where group x is one column lets say A , and on overlay there is another column lets say B .&lt;BR /&gt;Is there any option that the points can be aligned in their respective boxes?&lt;BR /&gt;&lt;BR /&gt;Below is my code -&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;createBoxPlot = Function({dt, cols},
	Show("Using Columns for Box Plot:", cols);

// Create Dashboard with Box Plots
	New Window("Analysis Dashboard",
		Tab Box(
			"Box Plots",
			V List Box(
				Text Box("Box Plot by A, B"),
				For(i = 1, i &amp;lt;= N Items(cols), i++,
					gb = Graph Builder(
						Size(800, 500),
						Show Control Panel(0),
						Variables(X(:C), Y(As Column(cols[i])), Group X(:A), Overlay(:B)),
						Elements(Box Plot(X, Y, Legend(4)), Points(X, Y, Legend(5)))
					)
				)
			)
		)
	);
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 26 Feb 2025 17:26:51 GMT</pubDate>
    <dc:creator>HV0508</dc:creator>
    <dc:date>2025-02-26T17:26:51Z</dc:date>
    <item>
      <title>How can align the points inside their respective boxes in Box plot (when an overlay is applied)</title>
      <link>https://community.jmp.com/t5/Discussions/How-can-align-the-points-inside-their-respective-boxes-in-Box/m-p/844535#M101872</link>
      <description>&lt;P&gt;How can align the points inside their respective boxes in Box plot (when an overlay is applied)&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HV0508_0-1740590424527.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/73363i612D66257A39B731/image-size/medium?v=v2&amp;amp;px=400" role="button" title="HV0508_0-1740590424527.png" alt="HV0508_0-1740590424527.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;i have a data where group x is one column lets say A , and on overlay there is another column lets say B .&lt;BR /&gt;Is there any option that the points can be aligned in their respective boxes?&lt;BR /&gt;&lt;BR /&gt;Below is my code -&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;createBoxPlot = Function({dt, cols},
	Show("Using Columns for Box Plot:", cols);

// Create Dashboard with Box Plots
	New Window("Analysis Dashboard",
		Tab Box(
			"Box Plots",
			V List Box(
				Text Box("Box Plot by A, B"),
				For(i = 1, i &amp;lt;= N Items(cols), i++,
					gb = Graph Builder(
						Size(800, 500),
						Show Control Panel(0),
						Variables(X(:C), Y(As Column(cols[i])), Group X(:A), Overlay(:B)),
						Elements(Box Plot(X, Y, Legend(4)), Points(X, Y, Legend(5)))
					)
				)
			)
		)
	);
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 26 Feb 2025 17:26:51 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-can-align-the-points-inside-their-respective-boxes-in-Box/m-p/844535#M101872</guid>
      <dc:creator>HV0508</dc:creator>
      <dc:date>2025-02-26T17:26:51Z</dc:date>
    </item>
    <item>
      <title>Re: How can align the points inside their respective boxes in Box plot (when an overlay is applied)</title>
      <link>https://community.jmp.com/t5/Discussions/How-can-align-the-points-inside-their-respective-boxes-in-Box/m-p/844546#M101873</link>
      <description>&lt;P&gt;Try using Align placement for your box plots (right click on graph)&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1740590918256.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/73364iEF025C8FEAE4B242/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1740590918256.png" alt="jthi_0-1740590918256.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Feb 2025 17:28:56 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-can-align-the-points-inside-their-respective-boxes-in-Box/m-p/844546#M101873</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2025-02-26T17:28:56Z</dc:date>
    </item>
    <item>
      <title>Re: How can align the points inside their respective boxes in Box plot (when an overlay is applied)</title>
      <link>https://community.jmp.com/t5/Discussions/How-can-align-the-points-inside-their-respective-boxes-in-Box/m-p/844579#M101874</link>
      <description>&lt;P&gt;I tried that but it overlaps the two overlay variable boxes like below -&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HV0508_0-1740594427694.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/73365iED367D6D160610CE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="HV0508_0-1740594427694.png" alt="HV0508_0-1740594427694.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I was wondering if i can have them side by side as in the description of this issue ,along with the points inside their respective boxes.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Feb 2025 18:27:45 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-can-align-the-points-inside-their-respective-boxes-in-Box/m-p/844579#M101874</guid>
      <dc:creator>HV0508</dc:creator>
      <dc:date>2025-02-26T18:27:45Z</dc:date>
    </item>
    <item>
      <title>Re: How can align the points inside their respective boxes in Box plot (when an overlay is applied)</title>
      <link>https://community.jmp.com/t5/Discussions/How-can-align-the-points-inside-their-respective-boxes-in-Box/m-p/844584#M101876</link>
      <description>&lt;P&gt;&lt;LI-MESSAGE title="How do I use Graph builderto overlay Points &amp;amp;amp; Boxplots" uid="735209" url="https://community.jmp.com/t5/Discussions/How-do-I-use-Graph-builderto-overlay-Points-amp-Boxplots/m-p/735209#U735209" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-forum-thread lia-fa-icon lia-fa-forum lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Feb 2025 18:37:52 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-can-align-the-points-inside-their-respective-boxes-in-Box/m-p/844584#M101876</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2025-02-26T18:37:52Z</dc:date>
    </item>
    <item>
      <title>Re: How can align the points inside their respective boxes in Box plot (when an overlay is applied)</title>
      <link>https://community.jmp.com/t5/Discussions/How-can-align-the-points-inside-their-respective-boxes-in-Box/m-p/844588#M101878</link>
      <description>&lt;P&gt;I tried this as well but it forms like this -&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HV0508_0-1740595747991.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/73369i6DAECE3464262891/image-size/medium?v=v2&amp;amp;px=400" role="button" title="HV0508_0-1740595747991.png" alt="HV0508_0-1740595747991.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Feb 2025 18:49:14 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-can-align-the-points-inside-their-respective-boxes-in-Box/m-p/844588#M101878</guid>
      <dc:creator>HV0508</dc:creator>
      <dc:date>2025-02-26T18:49:14Z</dc:date>
    </item>
    <item>
      <title>Re: How can align the points inside their respective boxes in Box plot (when an overlay is applied)</title>
      <link>https://community.jmp.com/t5/Discussions/How-can-align-the-points-inside-their-respective-boxes-in-Box/m-p/844593#M101879</link>
      <description>&lt;P&gt;As I don't have your data I'm going with a bit of guessing based on your script. I won't have X Group in my graph, it might matter or not&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We start from this&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1740596034569.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/73370i10BA318A2D371C52/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1740596034569.png" alt="jthi_0-1740596034569.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then we move our overlay to X-Axis (you can hide the labels if needed)&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_1-1740596063379.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/73371i19B3FAE66E2AF1A1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_1-1740596063379.png" alt="jthi_1-1740596063379.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;And finally we add that same column to color&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_2-1740596085136.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/73372i915574A5683ACEF4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_2-1740596085136.png" alt="jthi_2-1740596085136.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So we are not utilizing Overlay in this case which can be an issue with your data or with what you are trying to plot&lt;/P&gt;</description>
      <pubDate>Wed, 26 Feb 2025 18:57:03 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-can-align-the-points-inside-their-respective-boxes-in-Box/m-p/844593#M101879</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2025-02-26T18:57:03Z</dc:date>
    </item>
    <item>
      <title>Re: How can align the points inside their respective boxes in Box plot (when an overlay is applied)</title>
      <link>https://community.jmp.com/t5/Discussions/How-can-align-the-points-inside-their-respective-boxes-in-Box/m-p/844598#M101880</link>
      <description>&lt;P&gt;Why for you in the X axis you can see both age as well as sex values for me it is kind of different .&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HV0508_0-1740597270339.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/73375i1A194FDF3C1A3829/image-size/medium?v=v2&amp;amp;px=400" role="button" title="HV0508_0-1740597270339.png" alt="HV0508_0-1740597270339.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;What am i doing wrong , I wonder&lt;/P&gt;</description>
      <pubDate>Wed, 26 Feb 2025 19:14:47 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-can-align-the-points-inside-their-respective-boxes-in-Box/m-p/844598#M101880</guid>
      <dc:creator>HV0508</dc:creator>
      <dc:date>2025-02-26T19:14:47Z</dc:date>
    </item>
    <item>
      <title>Re: How can align the points inside their respective boxes in Box plot (when an overlay is applied)</title>
      <link>https://community.jmp.com/t5/Discussions/How-can-align-the-points-inside-their-respective-boxes-in-Box/m-p/844599#M101881</link>
      <description>&lt;P&gt;Could one of your columns be continuous? They need to be categorical (nominal/ordinal) for this type of plotting&lt;/P&gt;</description>
      <pubDate>Wed, 26 Feb 2025 19:20:04 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-can-align-the-points-inside-their-respective-boxes-in-Box/m-p/844599#M101881</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2025-02-26T19:20:04Z</dc:date>
    </item>
    <item>
      <title>Re: How can align the points inside their respective boxes in Box plot (when an overlay is applied)</title>
      <link>https://community.jmp.com/t5/Discussions/How-can-align-the-points-inside-their-respective-boxes-in-Box/m-p/844600#M101882</link>
      <description>&lt;P&gt;Oh yes ,You caught it right. Let me try it now.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Feb 2025 19:29:22 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-can-align-the-points-inside-their-respective-boxes-in-Box/m-p/844600#M101882</guid>
      <dc:creator>HV0508</dc:creator>
      <dc:date>2025-02-26T19:29:22Z</dc:date>
    </item>
    <item>
      <title>Re: How can align the points inside their respective boxes in Box plot (when an overlay is applied)</title>
      <link>https://community.jmp.com/t5/Discussions/How-can-align-the-points-inside-their-respective-boxes-in-Box/m-p/844601#M101883</link>
      <description>&lt;P&gt;It worked . Thankyou so much&lt;/P&gt;</description>
      <pubDate>Wed, 26 Feb 2025 19:31:38 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-can-align-the-points-inside-their-respective-boxes-in-Box/m-p/844601#M101883</guid>
      <dc:creator>HV0508</dc:creator>
      <dc:date>2025-02-26T19:31:38Z</dc:date>
    </item>
  </channel>
</rss>

