<?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: Simple JMP Script question: How to rotate word which is outside of graph in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/A-Simple-JMP-Script-question-How-to-rotate-word-which-is-outside/m-p/54236#M30643</link>
    <description>&lt;P&gt;Here is a method that I have used in the past.&amp;nbsp; It uses an invisible Outline Box() to gain easy access to the Text Box() you want to manipulate, which lies outside of the Platform Object&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
nw = New Window( "the output",
	ob = Outline Box( "",
		dt &amp;lt;&amp;lt; Graph Builder(
			Size( 563, 452 ),
			Show Control Panel( 0 ),
			Variables( X( :weight ), Y( :height ) ),
			where( :age == 14 ),  //   &amp;lt;-  I want to rotate this text in the graph window. 
			Elements( Points( X, Y, Legend( 8 ) ), Smoother( X, Y, Legend( 9 ) ) ),
			SendToReport(
				Dispatch( {}, "Graph Builder", OutlineBox, {Set Title( "Hight " )} ),
				Dispatch( {}, "graph title", TextEditBox, {Set Text( "" )} )
			)
		)
	)
);
nw[Outline Box( 1 )][Text Box( 1 )] &amp;lt;&amp;lt; rotate text( left );&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 30 Mar 2018 23:46:46 GMT</pubDate>
    <dc:creator>txnelson</dc:creator>
    <dc:date>2018-03-30T23:46:46Z</dc:date>
    <item>
      <title>A Simple JMP Script question: How to rotate word which is outside of graph</title>
      <link>https://community.jmp.com/t5/Discussions/A-Simple-JMP-Script-question-How-to-rotate-word-which-is-outside/m-p/54183#M30612</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'd like to rotate a word &lt;STRONG&gt;"&lt;FONT color="#0000ff"&gt;where( :age==14)"&lt;/FONT&gt;&lt;/STRONG&gt; which is outside of graph in a popup window.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the script.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you tell me how to make a script?&amp;nbsp; Thanks in advance. : )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = Open( "$SAMPLE_DATA/Big Class.jmp" );

nw = dt &amp;lt;&amp;lt; Graph Builder(
 Size( 563, 452 ),
 Show Control Panel( 0 ),
 Variables( X( :weight ), Y( :height ) ),
 where( :age == 14 ),  //   &amp;lt;-  I want to rotate this text in the graph window. 
 Elements( Points( X, Y, Legend( 8 ) ), Smoother( X, Y, Legend( 9 ) ) ),
 SendToReport(
  Dispatch( {}, "Graph Builder", OutlineBox, {Set Title( "Hight " )} ),
  Dispatch( {}, "graph title", TextEditBox, {Set Text( "" )} )
 )
);&lt;/CODE&gt;&lt;/PRE&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;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="How to write scripts to rotate text.jpg" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/10164iBE1017FAC6853E2A/image-size/large?v=v2&amp;amp;px=999" role="button" title="How to write scripts to rotate text.jpg" alt="How to write scripts to rotate text.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 01 Apr 2018 00:09:20 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/A-Simple-JMP-Script-question-How-to-rotate-word-which-is-outside/m-p/54183#M30612</guid>
      <dc:creator>Steve_Kim</dc:creator>
      <dc:date>2018-04-01T00:09:20Z</dc:date>
    </item>
    <item>
      <title>Re: Simple JMP Script question: How to rotate word which is outside of graph</title>
      <link>https://community.jmp.com/t5/Discussions/A-Simple-JMP-Script-question-How-to-rotate-word-which-is-outside/m-p/54184#M30613</link>
      <description>&lt;P&gt;I built a similar graph in Graph Builder, rotated the text of the y-axis and then saved the script to a script window (Red triangle menu &amp;gt; Save script &amp;gt; To script window).&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Graph Builder(
	Size( 514, 444 ),
	Show Control Panel( 0 ),
	Variables( X( :weight ), Y( :height ) ),
	Elements( Points( X, Y, Legend( 3 ) ), Smoother( X, Y, Legend( 4 ) ) ),
	SendToReport(
		Dispatch( {}, "Y title", TextEditBox, {Rotate Text( "Horizontal" )} )
	)
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The saved script shows you where to add the instruction to rotate text.&lt;/P&gt;
&lt;P&gt;Does that help?&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Phil&lt;/P&gt;</description>
      <pubDate>Fri, 30 Mar 2018 08:25:03 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/A-Simple-JMP-Script-question-How-to-rotate-word-which-is-outside/m-p/54184#M30613</guid>
      <dc:creator>Phil_Kay</dc:creator>
      <dc:date>2018-03-30T08:25:03Z</dc:date>
    </item>
    <item>
      <title>Re: Simple JMP Script question: How to rotate word which is outside of graph</title>
      <link>https://community.jmp.com/t5/Discussions/A-Simple-JMP-Script-question-How-to-rotate-word-which-is-outside/m-p/54190#M30616</link>
      <description>&lt;P&gt;Hi Phil,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for the answer. : )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However I'd like to &lt;FONT color="#0000ff"&gt;Rotate&lt;/FONT&gt; the text box&amp;nbsp;&lt;FONT color="#0000ff"&gt;&lt;STRONG&gt;"where( :age == 14 )"&amp;nbsp;,&lt;/STRONG&gt;&amp;nbsp;&lt;/FONT&gt; Not Y-axis title.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Mar 2018 23:25:43 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/A-Simple-JMP-Script-question-How-to-rotate-word-which-is-outside/m-p/54190#M30616</guid>
      <dc:creator>Steve_Kim</dc:creator>
      <dc:date>2018-03-30T23:25:43Z</dc:date>
    </item>
    <item>
      <title>Re: Simple JMP Script question: How to rotate word which is outside of graph</title>
      <link>https://community.jmp.com/t5/Discussions/A-Simple-JMP-Script-question-How-to-rotate-word-which-is-outside/m-p/54234#M30642</link>
      <description />
      <pubDate>Fri, 30 Mar 2018 23:30:56 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/A-Simple-JMP-Script-question-How-to-rotate-word-which-is-outside/m-p/54234#M30642</guid>
      <dc:creator>Steve_Kim</dc:creator>
      <dc:date>2018-03-30T23:30:56Z</dc:date>
    </item>
    <item>
      <title>Re: Simple JMP Script question: How to rotate word which is outside of graph</title>
      <link>https://community.jmp.com/t5/Discussions/A-Simple-JMP-Script-question-How-to-rotate-word-which-is-outside/m-p/54236#M30643</link>
      <description>&lt;P&gt;Here is a method that I have used in the past.&amp;nbsp; It uses an invisible Outline Box() to gain easy access to the Text Box() you want to manipulate, which lies outside of the Platform Object&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
nw = New Window( "the output",
	ob = Outline Box( "",
		dt &amp;lt;&amp;lt; Graph Builder(
			Size( 563, 452 ),
			Show Control Panel( 0 ),
			Variables( X( :weight ), Y( :height ) ),
			where( :age == 14 ),  //   &amp;lt;-  I want to rotate this text in the graph window. 
			Elements( Points( X, Y, Legend( 8 ) ), Smoother( X, Y, Legend( 9 ) ) ),
			SendToReport(
				Dispatch( {}, "Graph Builder", OutlineBox, {Set Title( "Hight " )} ),
				Dispatch( {}, "graph title", TextEditBox, {Set Text( "" )} )
			)
		)
	)
);
nw[Outline Box( 1 )][Text Box( 1 )] &amp;lt;&amp;lt; rotate text( left );&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 30 Mar 2018 23:46:46 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/A-Simple-JMP-Script-question-How-to-rotate-word-which-is-outside/m-p/54236#M30643</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2018-03-30T23:46:46Z</dc:date>
    </item>
    <item>
      <title>Re: Simple JMP Script question: How to rotate word which is outside of graph</title>
      <link>https://community.jmp.com/t5/Discussions/A-Simple-JMP-Script-question-How-to-rotate-word-which-is-outside/m-p/54252#M30653</link>
      <description>&lt;P&gt;Wow ~~~&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That's what I'm looking for!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you so much Jim!&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;===============================================================&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = Open( "$SAMPLE_DATA/Big Class.jmp" );  // data table

nw = New Window( "the output", 

	H List Box(
		Graph Builder(
			Size( 563, 452 ),
			Show Control Panel( 0 ),
			Variables( X( :weight ), Y( :height ) ),
			where( :age == 12 ),  //   &amp;lt;-  I want to rotate this text in the graph window. 
			Elements( Points( X, Y, Legend( 8 ) ), Smoother( X, Y, Legend( 9 ) ) ),
			SendToReport(
				Dispatch( {}, "Graph Builder", OutlineBox, {Set Title( "Hight " )} ),
				Dispatch( {}, "graph title", TextEditBox, {Set Text( "" )} )
			)
		),   // end of graph (age=12)
			
		Graph Builder(
			Size( 563, 452 ),
			Show Control Panel( 0 ),
			Variables( X( :weight ), Y( :height ) ),
			where( :age == 13 ),  //   &amp;lt;-  I want to rotate this text in the graph window. 
			Elements( Points( X, Y, Legend( 8 ) ), Smoother( X, Y, Legend( 9 ) ) ),
			SendToReport(
				Dispatch( {}, "Graph Builder", OutlineBox, {Set Title( "Hight " )} ),
				Dispatch( {}, "graph title", TextEditBox, {Set Text( "" )} )
			)
		),  // end of graph (age=13)
			
	),  // end of H list box
	H List Box(
		Graph Builder(
			Size( 563, 452 ),
			Show Control Panel( 0 ),
			Variables( X( :weight ), Y( :height ) ),
			where( :age == 14 ),  //   &amp;lt;-  I want to rotate this text in the graph window. 
			Elements( Points( X, Y, Legend( 8 ) ), Smoother( X, Y, Legend( 9 ) ) ),
			SendToReport(
				Dispatch( {}, "Graph Builder", OutlineBox, {Set Title( "Hight " )} ),
				Dispatch( {}, "graph title", TextEditBox, {Set Text( "" )} )
			)
		),   // end of graph (age=14)
		Graph Builder(
			Size( 563, 452 ),
			Show Control Panel( 0 ),
			Variables( X( :weight ), Y( :height ) ),
			where( :age == 15 ),  //   &amp;lt;-  I want to rotate this text in the graph window. 
			Elements( Points( X, Y, Legend( 8 ) ), Smoother( X, Y, Legend( 9 ) ) ),
			SendToReport(
				Dispatch( {}, "Graph Builder", OutlineBox, {Set Title( "Hight " )} ),
				Dispatch( {}, "graph title", TextEditBox, {Set Text( "" )} )
			)
		),  // end of graph (age=15)
	),  // end of H list box
	// 	)  // end of outline box
);    // end of new window






/*Check text box numbers by clicking "show tree structure"  from the graph window*/
nw[Text Box( 1 )] &amp;lt;&amp;lt; rotate text( left ); // rotate text
//nw[Text Box( 1 )] &amp;lt;&amp;lt; hide (1);  // hide text


nw[Text Box( 5 )] &amp;lt;&amp;lt; rotate text( left ); // rotate text
//nw[Text Box( 5 )] &amp;lt;&amp;lt; hide (1);  // hide text

nw[Text Box( 9 )] &amp;lt;&amp;lt; rotate text( left ); // rotate text
//nw[Text Box( 9 )] &amp;lt;&amp;lt; hide (1);  // hide text

nw[Text Box( 13 )] &amp;lt;&amp;lt; rotate text( left ); // rotate text
//nw[Outline Box( 1 )][Text Box( 13 )] &amp;lt;&amp;lt; hide (1);  // hide text&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I found a "text box number"&amp;nbsp;&lt;/P&gt;&lt;P&gt;from the "show&amp;nbsp; tree structure" button&amp;nbsp; on the window as well.&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="how to find text box number from window (show tree structure).png" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/10184iFF2127337F766AE8/image-size/large?v=v2&amp;amp;px=999" role="button" title="how to find text box number from window (show tree structure).png" alt="how to find text box number from window (show tree structure).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;&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>Sun, 01 Apr 2018 01:09:04 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/A-Simple-JMP-Script-question-How-to-rotate-word-which-is-outside/m-p/54252#M30653</guid>
      <dc:creator>Steve_Kim</dc:creator>
      <dc:date>2018-04-01T01:09:04Z</dc:date>
    </item>
  </channel>
</rss>

