<?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: Add secondary x-axis but don't sort by it in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Add-secondary-x-axis-but-don-t-sort-by-it/m-p/217049#M43379</link>
    <description>&lt;P&gt;So You could readd the desired order below that even, then turn off the third axis.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2019-07-10_14-59-17.png" style="width: 720px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/18273i2576008A12EAB4EE/image-size/large?v=v2&amp;amp;px=999" role="button" title="2019-07-10_14-59-17.png" alt="2019-07-10_14-59-17.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names default to here(1);
dt = New Table( "Test",
	Add Rows( 6 ),
	New Column( "Desired Order",
		Numeric,
		"Nominal",
		Format( "Best", 12 ),
		Set Values( [1, 2, 3, 4, 5, 6] )
	),
	New Column( "Category",
		Character,
		"Nominal",
		Set Values( {"A", "B", "B", "A", "A", "B"} )
	),
	New Column( "Data",
		Numeric,
		"Continuous",
		Format( "Best", 12 ),
		Set Values( [1, 2, 3, 4, 5, 6] )
	)
);

dt = Graph Builder(
	Variables(
		X( :Desired Order ),
		X( :Category, Position( 1 ) ),
		X( :Desired Order, Position( 1 ) ),
		Y( :Data ),
		Color( :Category )
	),
	Elements( Points( X( 1 ), X( 2 ), Y, Legend( 107 ) ) ),
	SendToReport(
		Dispatch(
			{},
			"Desired Order",
			ScaleBox,
			{Label Row(
				3,
				{Automatic Tick Marks( 0 ), Show Major Labels( 0 ),
				Show Major Ticks( 0 )}
			)}
		),
		Dispatch( {}, "400", LegendBox, {Set Title( "" )} )
	)
);
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Hope that works for you.&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="2019-07-10_14-59-17.png" style="width: 591px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/18274iC13159FD83D8FB3E/image-size/large?v=v2&amp;amp;px=999" role="button" title="2019-07-10_14-59-17.png" alt="2019-07-10_14-59-17.png" /&gt;&lt;/span&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 10 Jul 2019 22:02:02 GMT</pubDate>
    <dc:creator>vince_faller</dc:creator>
    <dc:date>2019-07-10T22:02:02Z</dc:date>
    <item>
      <title>Add secondary x-axis but don't sort by it</title>
      <link>https://community.jmp.com/t5/Discussions/Add-secondary-x-axis-but-don-t-sort-by-it/m-p/216879#M43338</link>
      <description>&lt;P&gt;This is going to be hard to explain by text so please see images below. Basically I'd like to have grouped by category below the main x-axis without it messing up the sort order. Whilst it's possible to have category "above" the main x-axis, this doesn't look nice and causes category grid lines to be drawn every entry instead of only when it changes.&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="jmp request.png" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/18267iF4944EE3D8A8DEA0/image-size/large?v=v2&amp;amp;px=999" role="button" title="jmp request.png" alt="jmp request.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2019 13:12:56 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Add-secondary-x-axis-but-don-t-sort-by-it/m-p/216879#M43338</guid>
      <dc:creator>david707</dc:creator>
      <dc:date>2019-07-10T13:12:56Z</dc:date>
    </item>
    <item>
      <title>Re: Add secondary x-axis but don't sort by it</title>
      <link>https://community.jmp.com/t5/Discussions/Add-secondary-x-axis-but-don-t-sort-by-it/m-p/217049#M43379</link>
      <description>&lt;P&gt;So You could readd the desired order below that even, then turn off the third axis.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2019-07-10_14-59-17.png" style="width: 720px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/18273i2576008A12EAB4EE/image-size/large?v=v2&amp;amp;px=999" role="button" title="2019-07-10_14-59-17.png" alt="2019-07-10_14-59-17.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names default to here(1);
dt = New Table( "Test",
	Add Rows( 6 ),
	New Column( "Desired Order",
		Numeric,
		"Nominal",
		Format( "Best", 12 ),
		Set Values( [1, 2, 3, 4, 5, 6] )
	),
	New Column( "Category",
		Character,
		"Nominal",
		Set Values( {"A", "B", "B", "A", "A", "B"} )
	),
	New Column( "Data",
		Numeric,
		"Continuous",
		Format( "Best", 12 ),
		Set Values( [1, 2, 3, 4, 5, 6] )
	)
);

dt = Graph Builder(
	Variables(
		X( :Desired Order ),
		X( :Category, Position( 1 ) ),
		X( :Desired Order, Position( 1 ) ),
		Y( :Data ),
		Color( :Category )
	),
	Elements( Points( X( 1 ), X( 2 ), Y, Legend( 107 ) ) ),
	SendToReport(
		Dispatch(
			{},
			"Desired Order",
			ScaleBox,
			{Label Row(
				3,
				{Automatic Tick Marks( 0 ), Show Major Labels( 0 ),
				Show Major Ticks( 0 )}
			)}
		),
		Dispatch( {}, "400", LegendBox, {Set Title( "" )} )
	)
);
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Hope that works for you.&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="2019-07-10_14-59-17.png" style="width: 591px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/18274iC13159FD83D8FB3E/image-size/large?v=v2&amp;amp;px=999" role="button" title="2019-07-10_14-59-17.png" alt="2019-07-10_14-59-17.png" /&gt;&lt;/span&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2019 22:02:02 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Add-secondary-x-axis-but-don-t-sort-by-it/m-p/217049#M43379</guid>
      <dc:creator>vince_faller</dc:creator>
      <dc:date>2019-07-10T22:02:02Z</dc:date>
    </item>
  </channel>
</rss>

