<?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 get axis labels to the left of x-axis in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-get-axis-labels-to-the-left-of-x-axis/m-p/516576#M74303</link>
    <description>&lt;P&gt;I was able to accomplish this interactively and then I had JMP save the JSL to a script window, which gave me the JSL that can be used to produce the graph.&amp;nbsp; As can be seen in the below graph, I only have 2 levels on my X axis, not 3 as in your example, however the method I used can be easily extended for the 3 levels.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="txnelson_0-1656655326173.png" style="width: 512px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/43722i40C564E453D39873/image-dimensions/512x408?v=v2" width="512" height="408" role="button" title="txnelson_0-1656655326173.png" alt="txnelson_0-1656655326173.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;I created the default graph&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="txnelson_1-1656655590090.png" style="width: 551px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/43723iCCFCD6146BC9A8DF/image-dimensions/551x523?v=v2" width="551" height="523" role="button" title="txnelson_1-1656655590090.png" alt="txnelson_1-1656655590090.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;To remove the axis label, I clicked on the&amp;nbsp; &amp;nbsp; age / sex&amp;nbsp; &amp;nbsp; to edit it, and used the Backspace key to delete it.&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="txnelson_2-1656655926967.png" style="width: 499px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/43724i958D0FE83BD5FBE9/image-dimensions/499x480?v=v2" width="499" height="480" role="button" title="txnelson_2-1656655926967.png" alt="txnelson_2-1656655926967.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;Next I used the Annotate Tool&amp;nbsp;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="txnelson_4-1656656026619.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/43726i0D23781392E82C60/image-size/medium?v=v2&amp;amp;px=400" role="button" title="txnelson_4-1656656026619.png" alt="txnelson_4-1656656026619.png" /&gt;&lt;/span&gt;&amp;nbsp;to add the Sex label&amp;nbsp;&lt;/P&gt;
&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="txnelson_5-1656656224111.png" style="width: 526px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/43727i599763DA5910F511/image-dimensions/526x473?v=v2" width="526" height="473" role="button" title="txnelson_5-1656656224111.png" alt="txnelson_5-1656656224111.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;After it is entered the mouse can be used to position it exactly where it is wanted.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I then repeated the same step to add the Age label..&amp;nbsp; The first graph displayed is what the final results were.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;The last step was to go to the red triangle and select&amp;nbsp; &amp;nbsp; &amp;nbsp;Save Script=&amp;gt;To Script Window&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;
Graph Builder(
	Size( 525, 458 ),
	Show Control Panel( 0 ),
	Variables( X( :age ), X( :sex, Position( 1 ) ), Y( :height ) ),
	Elements( Points( X( 1 ), X( 2 ), Y, Legend( 3 ) ) ),
	SendToReport(
		Dispatch( {}, "X title", TextEditBox, {Set Text( "" )} ),
		Dispatch(
			{},
			"",
			AxisBox,
			{Add Axis Label( "Sex" ),
			{Add Text Annotation(
				Text( "Sex" ),
				Fixed Size( 0 ),
				Text Box( {-16, 2, 21, 29} ),
				Filled( 0 )
			), Add Text Annotation(
				Text( "Age" ),
				Fixed Size( 0 ),
				Text Box( {-15, 26, 26, 53} ),
				Filled( 0 )
			)}}
		),
		Dispatch( {}, "Sex", TextEditBox, {Set Text( "" )} )
	)
);
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;By repeating the Annotate step for your 3rd X axis level, and then saving the script should give you the JSL you need for your graph.&lt;/P&gt;
&amp;nbsp;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 01 Jul 2022 06:24:49 GMT</pubDate>
    <dc:creator>txnelson</dc:creator>
    <dc:date>2022-07-01T06:24:49Z</dc:date>
    <item>
      <title>How to get axis labels to the left of x-axis</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-get-axis-labels-to-the-left-of-x-axis/m-p/515426#M74210</link>
      <description>&lt;P&gt;I made a scatter plot with three variables on the x axis as shown below, but the label for the the axes (xC/ xB / xA) are at the bottom which can be unintuitive.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="cslim_0-1656493702836.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/43673i8BFA1281D93BE051/image-size/medium?v=v2&amp;amp;px=400" role="button" title="cslim_0-1656493702836.png" alt="cslim_0-1656493702836.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was looking a way to get the labels for the x axis to the left of each x-axis i.e xA on the left of "A1 A2 A1 A2...", xB on the left of "B1 B2...." and so on, so that it forms sort of a hierarchical table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(I am new to jump, so not sure abut the correct terms for everything.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Sun, 11 Jun 2023 11:25:27 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-get-axis-labels-to-the-left-of-x-axis/m-p/515426#M74210</guid>
      <dc:creator>cslim</dc:creator>
      <dc:date>2023-06-11T11:25:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to get axis labels to the left of x-axis</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-get-axis-labels-to-the-left-of-x-axis/m-p/515547#M74226</link>
      <description>&lt;P&gt;Is this what you are trying to do?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="txnelson_0-1656505731943.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/43676i517096B270681D40/image-size/medium?v=v2&amp;amp;px=400" role="button" title="txnelson_0-1656505731943.png" alt="txnelson_0-1656505731943.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;If so, in Graph Builder, you just drag the Age column to the X axis, then go back and drag the Sex column to the right end of the X axis&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jun 2022 12:30:44 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-get-axis-labels-to-the-left-of-x-axis/m-p/515547#M74226</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2022-06-29T12:30:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to get axis labels to the left of x-axis</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-get-axis-labels-to-the-left-of-x-axis/m-p/516547#M74301</link>
      <description>&lt;P&gt;Thank you for the reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;I already have the graph plotted correctly, I want to change only the formatting of the x-axis labels as I have shown in red text here:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="cslim_0-1656652368641.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/43721iD6C14F383FFCB9A6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="cslim_0-1656652368641.png" alt="cslim_0-1656652368641.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jul 2022 05:15:13 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-get-axis-labels-to-the-left-of-x-axis/m-p/516547#M74301</guid>
      <dc:creator>cslim</dc:creator>
      <dc:date>2022-07-01T05:15:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to get axis labels to the left of x-axis</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-get-axis-labels-to-the-left-of-x-axis/m-p/516576#M74303</link>
      <description>&lt;P&gt;I was able to accomplish this interactively and then I had JMP save the JSL to a script window, which gave me the JSL that can be used to produce the graph.&amp;nbsp; As can be seen in the below graph, I only have 2 levels on my X axis, not 3 as in your example, however the method I used can be easily extended for the 3 levels.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="txnelson_0-1656655326173.png" style="width: 512px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/43722i40C564E453D39873/image-dimensions/512x408?v=v2" width="512" height="408" role="button" title="txnelson_0-1656655326173.png" alt="txnelson_0-1656655326173.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;I created the default graph&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="txnelson_1-1656655590090.png" style="width: 551px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/43723iCCFCD6146BC9A8DF/image-dimensions/551x523?v=v2" width="551" height="523" role="button" title="txnelson_1-1656655590090.png" alt="txnelson_1-1656655590090.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;To remove the axis label, I clicked on the&amp;nbsp; &amp;nbsp; age / sex&amp;nbsp; &amp;nbsp; to edit it, and used the Backspace key to delete it.&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="txnelson_2-1656655926967.png" style="width: 499px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/43724i958D0FE83BD5FBE9/image-dimensions/499x480?v=v2" width="499" height="480" role="button" title="txnelson_2-1656655926967.png" alt="txnelson_2-1656655926967.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;Next I used the Annotate Tool&amp;nbsp;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="txnelson_4-1656656026619.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/43726i0D23781392E82C60/image-size/medium?v=v2&amp;amp;px=400" role="button" title="txnelson_4-1656656026619.png" alt="txnelson_4-1656656026619.png" /&gt;&lt;/span&gt;&amp;nbsp;to add the Sex label&amp;nbsp;&lt;/P&gt;
&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="txnelson_5-1656656224111.png" style="width: 526px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/43727i599763DA5910F511/image-dimensions/526x473?v=v2" width="526" height="473" role="button" title="txnelson_5-1656656224111.png" alt="txnelson_5-1656656224111.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;After it is entered the mouse can be used to position it exactly where it is wanted.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I then repeated the same step to add the Age label..&amp;nbsp; The first graph displayed is what the final results were.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;The last step was to go to the red triangle and select&amp;nbsp; &amp;nbsp; &amp;nbsp;Save Script=&amp;gt;To Script Window&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;
Graph Builder(
	Size( 525, 458 ),
	Show Control Panel( 0 ),
	Variables( X( :age ), X( :sex, Position( 1 ) ), Y( :height ) ),
	Elements( Points( X( 1 ), X( 2 ), Y, Legend( 3 ) ) ),
	SendToReport(
		Dispatch( {}, "X title", TextEditBox, {Set Text( "" )} ),
		Dispatch(
			{},
			"",
			AxisBox,
			{Add Axis Label( "Sex" ),
			{Add Text Annotation(
				Text( "Sex" ),
				Fixed Size( 0 ),
				Text Box( {-16, 2, 21, 29} ),
				Filled( 0 )
			), Add Text Annotation(
				Text( "Age" ),
				Fixed Size( 0 ),
				Text Box( {-15, 26, 26, 53} ),
				Filled( 0 )
			)}}
		),
		Dispatch( {}, "Sex", TextEditBox, {Set Text( "" )} )
	)
);
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;By repeating the Annotate step for your 3rd X axis level, and then saving the script should give you the JSL you need for your graph.&lt;/P&gt;
&amp;nbsp;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jul 2022 06:24:49 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-get-axis-labels-to-the-left-of-x-axis/m-p/516576#M74303</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2022-07-01T06:24:49Z</dc:date>
    </item>
  </channel>
</rss>

