<?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: Change X-Axis Label Orientation in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Change-X-Axis-Label-Orientation/m-p/41160#M23996</link>
    <description>&lt;P&gt;Awesome. Thanks a lot.&lt;/P&gt;</description>
    <pubDate>Sat, 24 Jun 2017 04:16:46 GMT</pubDate>
    <dc:creator>mosiph</dc:creator>
    <dc:date>2017-06-24T04:16:46Z</dc:date>
    <item>
      <title>Change X-Axis Label Orientation</title>
      <link>https://community.jmp.com/t5/Discussions/Change-X-Axis-Label-Orientation/m-p/40797#M23837</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;In the variability chart, I am trying to change the text orientation of one of the X variables. Here is the part of the code.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;X_List = {"SPLIT", "LOTID", "Tool", "Boat", "Wfrid"};

varChartObj = Variability Chart(
	Y( collist[i] ),
	X( Eval(X_List) ),
	Analysis Type( "Choose best analysis (EMS REML Bayesian)" ),
	Std Dev Chart( 0 ),
	Show Box Plots( 1 ),
);
report(varChartObj)[Frame Box(1)]&amp;lt;&amp;lt; Row Legend( Eval(X_Legend),  Color( 1 ), Marker( 0 ) );
report(varChartObj)[axisbox(1)]&amp;lt;&amp;lt; Add Ref Line( LSL, "Solid", "Red", "LSL", 1 );
report(varChartObj)[axisbox(1)]&amp;lt;&amp;lt; Add Ref Line( USL, "Solid", "Red", "USL", 1 );
report(varChartObj)[axisbox(1)]&amp;lt;&amp;lt; Add Ref Line( Target, "Dashed", "Red", "Target", 1 );
report(varChartObj)[axisbox(1)]&amp;lt;&amp;lt; min(LSL-0.1*(USL-LSL));
report(varChartObj)[axisbox(1)]&amp;lt;&amp;lt; max(USL+0.1*(USL-LSL));
report(varChartObj)[axisbox(1)]&amp;lt;&amp;lt; Inc(0.1*abs(USL-LSL));&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Appreciate if someone can show me how I can achieve it. Say if I want to change X variable "Tool" to vertical orientation.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jun 2017 15:03:55 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Change-X-Axis-Label-Orientation/m-p/40797#M23837</guid>
      <dc:creator>mosiph</dc:creator>
      <dc:date>2017-06-20T15:03:55Z</dc:date>
    </item>
    <item>
      <title>Re: Change X-Axis Label Orientation</title>
      <link>https://community.jmp.com/t5/Discussions/Change-X-Axis-Label-Orientation/m-p/40799#M23839</link>
      <description>&lt;P&gt;It's almost always good to 'do it by hand', then inspect the code that JMP generates for you:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;NamesDefaultToHere(1);
dt = Open("$SAMPLE_DATA/Big Class.jmp");
dt &amp;lt;&amp;lt; Variability Chart(
				Y( :height ),
				X( :age, :sex ),
				Std Dev Chart( 0 ),
				SendToReport(
					Dispatch(
						{"Variability Chart for height"},
						"",
						NomAxisBox,
						{Rotated Tick Labels( 1 )}
					)
				)
			);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 20 Jun 2017 14:18:32 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Change-X-Axis-Label-Orientation/m-p/40799#M23839</guid>
      <dc:creator>ian_jmp</dc:creator>
      <dc:date>2017-06-20T14:18:32Z</dc:date>
    </item>
    <item>
      <title>Re: Change X-Axis Label Orientation</title>
      <link>https://community.jmp.com/t5/Discussions/Change-X-Axis-Label-Orientation/m-p/40803#M23842</link>
      <description>&lt;P&gt;Yes, I did. After looking at the script generated,&amp;nbsp;I tried:&lt;/P&gt;&lt;P&gt;report(varChartObj)[ScaleBox(2)]&amp;lt;&amp;lt; Label Row( 3, Label Orientation( "Vertical" ));&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But it did not work.&lt;/P&gt;&lt;P&gt;Btw, I am using loop to generate many plots at one time.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jun 2017 14:29:37 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Change-X-Axis-Label-Orientation/m-p/40803#M23842</guid>
      <dc:creator>mosiph</dc:creator>
      <dc:date>2017-06-20T14:29:37Z</dc:date>
    </item>
    <item>
      <title>Re: Change X-Axis Label Orientation</title>
      <link>https://community.jmp.com/t5/Discussions/Change-X-Axis-Label-Orientation/m-p/40823#M23851</link>
      <description>&lt;P&gt;I believe you need to change ScaleBox to AxisBox&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jun 2017 17:17:05 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Change-X-Axis-Label-Orientation/m-p/40823#M23851</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2017-06-20T17:17:05Z</dc:date>
    </item>
    <item>
      <title>Re: Change X-Axis Label Orientation</title>
      <link>https://community.jmp.com/t5/Discussions/Change-X-Axis-Label-Orientation/m-p/41160#M23996</link>
      <description>&lt;P&gt;Awesome. Thanks a lot.&lt;/P&gt;</description>
      <pubDate>Sat, 24 Jun 2017 04:16:46 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Change-X-Axis-Label-Orientation/m-p/41160#M23996</guid>
      <dc:creator>mosiph</dc:creator>
      <dc:date>2017-06-24T04:16:46Z</dc:date>
    </item>
    <item>
      <title>Re: Change X-Axis Label Orientation</title>
      <link>https://community.jmp.com/t5/Discussions/Change-X-Axis-Label-Orientation/m-p/51813#M29390</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/2687"&gt;@txnelson&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If there are many row need to be rotated, is the only way to address all rows number?&lt;/P&gt;&lt;P&gt;or does it have any way to do it at once instead of use loop to generate it?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;</description>
      <pubDate>Thu, 22 Feb 2018 06:08:02 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Change-X-Axis-Label-Orientation/m-p/51813#M29390</guid>
      <dc:creator>JMPNewbie</dc:creator>
      <dc:date>2018-02-22T06:08:02Z</dc:date>
    </item>
    <item>
      <title>Re: Change X-Axis Label Orientation</title>
      <link>https://community.jmp.com/t5/Discussions/Change-X-Axis-Label-Orientation/m-p/51814#M29391</link>
      <description>&lt;P&gt;A separate call to each specific NomAxisBox() for each column specified in the "X Grouping"&amp;nbsp;area of the Variability dialog box will have to be made&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Feb 2018 06:18:10 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Change-X-Axis-Label-Orientation/m-p/51814#M29391</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2018-02-22T06:18:10Z</dc:date>
    </item>
    <item>
      <title>Re: Change X-Axis Label Orientation</title>
      <link>https://community.jmp.com/t5/Discussions/Change-X-Axis-Label-Orientation/m-p/51815#M29392</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/2687"&gt;@txnelson&lt;/a&gt;&lt;BR /&gt;&lt;BR /&gt;Thank you for the quick reply, i do try to use nom axis box which&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/3605"&gt;@ian_jmp&lt;/a&gt;&amp;nbsp;showed at the previous answer&lt;/P&gt;&lt;P&gt;however, it seems no work by use nom axis box(2) to rotate it ....&lt;/P&gt;&lt;P&gt;Sorry for the question, i still newbie working with JMP&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;GenTabRpt = Function( {dt_chart, _CATE, _PARM},
rc = dt_chart &amp;lt;&amp;lt; report;
_PARM = Munger( _PARM, (Munger( _PARM, 1, "/" )), "/", "_" );
If( Contains Item( _PARM, "IBL0", "_" ),
rc[axis box( 1 )] &amp;lt;&amp;lt; Scale( "Log" ) &amp;lt;&amp;lt; Show Minor Labels( 0 ) &amp;lt;&amp;lt; Min( 1e-1 ),

);
If( Contains Item( _PARM, "Ir0", "_" ),
rc[axis box( 1 )] &amp;lt;&amp;lt; Scale( "Log" ) &amp;lt;&amp;lt; Show Minor Labels( 0 ) &amp;lt;&amp;lt; Min( 1e-12 ) &amp;lt;&amp;lt; Max( 1e-5 ),

);
If( Contains Item( _PARM, "T2P", "_" ),
rc[axis box( 1 )] &amp;lt;&amp;lt; Scale( "Log" ) &amp;lt;&amp;lt; Show Minor Labels( 0 ) &amp;lt;&amp;lt; Min( 1e-9 ) &amp;lt;&amp;lt; Max( 1e-3 ),

);
If(
Contains Item( _PARM, "Iread", "_" ) :| Contains Item( _PARM, "Ir1", "_" ) :| Contains Item( _PARM, "Ir0", "_" ) :|
Contains Item( _PARM, "T2P", "_" ),
rc[axis box( 1 )] &amp;lt;&amp;lt; Format( Scientific ),

);
If( dt_chart == "Variability Chart[]",
rc[Text Edit Box( 1 )] &amp;lt;&amp;lt; Set Font Size( 1 ) &amp;lt;&amp;lt; Hide( 1 ),

);
rc[Nom Axis Box(2)] &amp;lt;&amp;lt; Rotated Tick Labels( 0 );
rc[FrameBox( 1 )] &amp;lt;&amp;lt; Marker Size( 3 );// &amp;lt;&amp;lt; Frame Size (850,240);
rc[axis box( 2 )] &amp;lt;&amp;lt; Show Major Grid( 1 );
/* &amp;lt;&amp;lt; Label Row( 5, Label Orientation( "Vertical" ) ) 
&amp;lt;&amp;lt; Label Row( 6, Label Orientation( "Vertical" ) )
&amp;lt;&amp;lt; Label Row( 7, Label Orientation( "Vertical" ) )
&amp;lt;&amp;lt; Label Row( 8, Label Orientation( "Vertical" ) )
&amp;lt;&amp;lt; Label Row( 9, Label Orientation( "Vertical" ) )
&amp;lt;&amp;lt; Label Row( 10, Label Orientation( "Vertical" ) );
*/ rc[Outline Box( 2 )] &amp;lt;&amp;lt; set title( Char( _PARM ) );
rc[Outline Box( 2 )] &amp;lt;&amp;lt; save picture( RPTFolder || Char( _PARM ) || ".emf" );
If( _CATE == "MISSING",
_CATE = "WAT_Summary_Plot"
);
If( _CATE != _PreCATE,
tb &amp;lt;&amp;lt; Append( _CATE, vlb = V List Box() );
vlb &amp;lt;&amp;lt; append( rc );
dt_chart &amp;lt;&amp;lt; close window;
,
vlb &amp;lt;&amp;lt; append( rc );
dt_chart &amp;lt;&amp;lt; close window;
);
Insert Into( TestList, Char( _PARM ) );
Insert Into( CateList, Char( _CATE ) );
_PreCATE = _CATE;
);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Feb 2018 06:26:57 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Change-X-Axis-Label-Orientation/m-p/51815#M29392</guid>
      <dc:creator>JMPNewbie</dc:creator>
      <dc:date>2018-02-22T06:26:57Z</dc:date>
    </item>
    <item>
      <title>Re: Change X-Axis Label Orientation</title>
      <link>https://community.jmp.com/t5/Discussions/Change-X-Axis-Label-Orientation/m-p/51818#M29395</link>
      <description>&lt;P&gt;It is pretty tough figuring out where the issue(s) is/are without having the actual Variability chart JSL.&amp;nbsp; One would need to examine the Report Tree Structure to find out why a reference to NomAxisBox(2) may not be a proper reference.&amp;nbsp; Below is a simple script that has 3&amp;nbsp;X columns specified, with all 3 of their axis values rotated.&amp;nbsp; &amp;nbsp;The code then goes back and&amp;nbsp;&amp;nbsp;changes the 3rd level tick labels back to unrotated.&amp;nbsp; Try examining the Tree Structure so you can see how it works.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;names default to here(1);
New Table( "Example",
	Add Rows( 15 ),
	New Column("lot_id",
		Character,
		"Nominal",
		Set Values(
			{"lot1", "lot1", "lot1", "lot1", "lot1", "lot2", "lot2", "lot2", "lot2",
			"lot2", "lot3", "lot3", "lot3", "lot3", "lot3"}
		)
	),
	New Column("wafer",
		Numeric( 1 ),
		"Nominal",
		Set Values( [3, 3, 3, 3, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] )
	),
	New Column("SITE", 
		Numeric( 1 ),
		"Nominal",
		Set Values( [1, 2, 3, 4, 5, 1, 2, 3, 4, 5, 1, 2, 3, 4, 5] )
	),
	New Column("NPN1",
		Numeric,
		"Continuous",
		Format( "Best", 10 ),
		Set Values(
			[114.946183872216, 113.382890501824, 114.666518192776, 107.884015560041,
			113.065582322339, 114.857323947632, 114.559464479242, 114.221688530977,
			112.349531387849, 113.253501139582, 113.07512667471, 114.613256881221,
			112.309137695657, 115.116308198793, 116.436528584316]
		)
	)
);
vc=Variability Chart(
	Y( :NPN1 ),
	X( :lot_id, :wafer, :SITE ),
	Max Iter( 100 ),
	Conv Limit( 0.00000001 ),
	Number Integration Abscissas( 128 ),
	Number Function Evals( 65536 ),
	Analysis Type( "Choose best analysis (EMS REML Bayesian)" ),
	Std Dev Chart( 0 ),
	SendToReport(
		Dispatch(
			{"Variability Chart for NPN1"},
			"",
			NomAxisBox,
			{Rotated Tick Labels( 1 )}
		),
		Dispatch(
			{"Variability Chart for NPN1"},
			"",
			NomAxisBox( 2 ),
			{Rotated Tick Labels( 1 )}
		),
		Dispatch(
			{"Variability Chart for NPN1"},
			"",
			NomAxisBox( 3 ),
			{Rotated Tick Labels( 1 ), Set Width( 980 ), Set Height( 21 )}
		)
	)
);
report(vc)[Nom Axis Box( 3 )] &amp;lt;&amp;lt; Rotated Tick Labels( 0 );
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 22 Feb 2018 09:30:25 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Change-X-Axis-Label-Orientation/m-p/51818#M29395</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2018-02-22T09:30:25Z</dc:date>
    </item>
  </channel>
</rss>

