<?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 do I use x-axis label instead of a legend in graph builder box plot? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-do-I-use-x-axis-label-instead-of-a-legend-in-graph-builder/m-p/74789#M35856</link>
    <description>&lt;P&gt;Double click on the legend, then edit the legend names.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 470px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/12529i00F587D38156DEB7/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;The JSL will look like this&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Graph Builder(
	Size( 527, 418 ),
	Show Control Panel( 0 ),
	Variables( Y( :Col 1 ), Y( :Col 2, Position( 1 ) ), Y( :Col 3, Position( 1 ) ) ),
	Elements( Box Plot( Y( 1 ), Y( 2 ), Y( 3 ), Legend( 3 ) ) ),
	SendToReport(
		Dispatch(
			{},
			"400",
			ScaleBox,
			{Legend Model(
				3,
				Level Name( 0, "my name1", Item ID( "Col 1", 1 ) ),
				Level Name( 1, "my name 2", Item ID( "Col 2", 1 ) ),
				Level Name( 2, "my name 3", Item ID( "Col 3", 1 ) )
			)}
		)
	)
)&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 21 Sep 2018 01:04:28 GMT</pubDate>
    <dc:creator>gzmorgan0</dc:creator>
    <dc:date>2018-09-21T01:04:28Z</dc:date>
    <item>
      <title>How do I use x-axis label instead of a legend in graph builder box plot?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-use-x-axis-label-instead-of-a-legend-in-graph-builder/m-p/74785#M35853</link>
      <description>&lt;P&gt;&amp;nbsp;&amp;nbsp; I would like to have a script that automatically plots several box plots together in jmp.&amp;nbsp; I am able to come close to what I need, but I don't want to use the legend.&amp;nbsp; I would like to use the x-axis to label instead.&amp;nbsp; Below is what I have been able to achieve.&amp;nbsp; All I need to change is to remove the legend(that's easy)&amp;nbsp;and put the "Col1",&amp;nbsp;"Col2", and Col3" label on the x-axis (can't figure this part out).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The motivation for this change is that I often have a larger number of columns to plot and can't tell which column is which from the color in the legend.&amp;nbsp; The solution will eventually need to be in JSL, but if I can get it to work manually, it should be simple to extract the script and do it in JSL.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&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="Capture.PNG" style="width: 605px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/12528iEE1D7A52D72B5127/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Sep 2018 23:42:09 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-use-x-axis-label-instead-of-a-legend-in-graph-builder/m-p/74785#M35853</guid>
      <dc:creator>noblea30</dc:creator>
      <dc:date>2018-09-20T23:42:09Z</dc:date>
    </item>
    <item>
      <title>Re: How do I use x-axis label instead of a legend in graph builder box plot?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-use-x-axis-label-instead-of-a-legend-in-graph-builder/m-p/74789#M35856</link>
      <description>&lt;P&gt;Double click on the legend, then edit the legend names.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 470px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/12529i00F587D38156DEB7/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;The JSL will look like this&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Graph Builder(
	Size( 527, 418 ),
	Show Control Panel( 0 ),
	Variables( Y( :Col 1 ), Y( :Col 2, Position( 1 ) ), Y( :Col 3, Position( 1 ) ) ),
	Elements( Box Plot( Y( 1 ), Y( 2 ), Y( 3 ), Legend( 3 ) ) ),
	SendToReport(
		Dispatch(
			{},
			"400",
			ScaleBox,
			{Legend Model(
				3,
				Level Name( 0, "my name1", Item ID( "Col 1", 1 ) ),
				Level Name( 1, "my name 2", Item ID( "Col 2", 1 ) ),
				Level Name( 2, "my name 3", Item ID( "Col 3", 1 ) )
			)}
		)
	)
)&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Sep 2018 01:04:28 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-use-x-axis-label-instead-of-a-legend-in-graph-builder/m-p/74789#M35856</guid>
      <dc:creator>gzmorgan0</dc:creator>
      <dc:date>2018-09-21T01:04:28Z</dc:date>
    </item>
    <item>
      <title>Re: How do I use x-axis label instead of a legend in graph builder box plot?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-use-x-axis-label-instead-of-a-legend-in-graph-builder/m-p/74790#M35857</link>
      <description>&lt;P&gt;Ignore the last post, I misread your request.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Sep 2018 01:08:22 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-use-x-axis-label-instead-of-a-legend-in-graph-builder/m-p/74790#M35857</guid>
      <dc:creator>gzmorgan0</dc:creator>
      <dc:date>2018-09-21T01:08:22Z</dc:date>
    </item>
    <item>
      <title>Re: How do I use x-axis label instead of a legend in graph builder box plot?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-use-x-axis-label-instead-of-a-legend-in-graph-builder/m-p/74792#M35858</link>
      <description>&lt;P&gt;The easiest method is to stack your columns first. Then use Data for Y and label for X.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The original plot you created all the points are plotted at zero and the boxplots are offset from the points. There is an X-axis but the range is like -0.5 to 0.5.&amp;nbsp; You could create some custom labeling to emulate an x-axis but positioning etc, will take a bit of scripting.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;By using the stacked columns the points and box plots are aligned, etc.&amp;nbsp;&amp;nbsp;&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: 714px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/12530i92B1ECFA6A9919E0/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Sep 2018 01:22:03 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-use-x-axis-label-instead-of-a-legend-in-graph-builder/m-p/74792#M35858</guid>
      <dc:creator>gzmorgan0</dc:creator>
      <dc:date>2018-09-21T01:22:03Z</dc:date>
    </item>
  </channel>
</rss>

