<?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 Y-axis title in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Change-Y-axis-title/m-p/762189#M94092</link>
    <description>&lt;P&gt;Maybe a hint:&lt;BR /&gt;When I erroneously write&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;gb &amp;lt;&amp;lt; SendToReport( Dispatch( {}, "X_Title", TextEditBox, {Set Text( "xxx" )} ))&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;[please notice the underscore between X and title]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;... I get the error message&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hogi_1-1717231352941.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/64718i1B39C09D62D65797/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hogi_1-1717231352941.png" alt="hogi_1-1717231352941.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;CODE class=" language-jsl"&gt;TextEditBox["X Title"]!&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so, maybe&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;current report()[TextEditBox["X Title"]]&amp;lt;&amp;lt; Set Text( "new" )&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-&amp;gt; no :(&lt;/img&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 01 Jun 2024 08:45:52 GMT</pubDate>
    <dc:creator>hogi</dc:creator>
    <dc:date>2024-06-01T08:45:52Z</dc:date>
    <item>
      <title>Change Y-axis title</title>
      <link>https://community.jmp.com/t5/Discussions/Change-Y-axis-title/m-p/31188#M19733</link>
      <description>&lt;P&gt;I would like to change the y-axis title of an overlay plot, but not sure how to achieve that. &amp;nbsp;I can "Add Axis Label" to chart, but that appends only. &amp;nbsp;Ideally, I would like the default label removed and replaced with more descriptive text.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Dec 2016 19:22:01 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Change-Y-axis-title/m-p/31188#M19733</guid>
      <dc:creator>illinitom</dc:creator>
      <dc:date>2016-12-05T19:22:01Z</dc:date>
    </item>
    <item>
      <title>Re: Change Y-axis title</title>
      <link>https://community.jmp.com/t5/Discussions/Change-Y-axis-title/m-p/31191#M19736</link>
      <description>&lt;P&gt;Remove the original title, then add the desired title&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;db &amp;lt;&amp;lt; Remove Axis Label &amp;lt;&amp;lt; Add Axis Lable( "label" );&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 05 Dec 2016 19:41:34 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Change-Y-axis-title/m-p/31191#M19736</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2016-12-05T19:41:34Z</dc:date>
    </item>
    <item>
      <title>Re: Change Y-axis title</title>
      <link>https://community.jmp.com/t5/Discussions/Change-Y-axis-title/m-p/31194#M19739</link>
      <description>&lt;P&gt;Original label still exists running the following command;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;report&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT face="Consolas" size="2"&gt;(&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Consolas" size="2"&gt;obj&lt;STRONG&gt;)[&lt;/STRONG&gt;axisbox&lt;STRONG&gt;(&lt;/STRONG&gt;&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Consolas" size="2"&gt;2&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;)]&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#000080" face="Consolas" size="2"&gt;&amp;lt;&amp;lt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;Remove Axis Label&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#000080" face="Consolas" size="2"&gt;&amp;lt;&amp;lt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;Add Axis Label&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;(&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT color="#800080" face="Consolas" size="2"&gt;"Shipped Wafer Volume"&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT face="Consolas" size="2"&gt;)&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Dec 2016 19:47:11 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Change-Y-axis-title/m-p/31194#M19739</guid>
      <dc:creator>illinitom</dc:creator>
      <dc:date>2016-12-05T19:47:11Z</dc:date>
    </item>
    <item>
      <title>Re: Change Y-axis title</title>
      <link>https://community.jmp.com/t5/Discussions/Change-Y-axis-title/m-p/31196#M19741</link>
      <description>&lt;P&gt;You might have to include the original label as an argument in the first message:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;db &amp;lt;&amp;lt; Remove Axis Label( "original" );&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 05 Dec 2016 19:52:11 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Change-Y-axis-title/m-p/31196#M19741</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2016-12-05T19:52:11Z</dc:date>
    </item>
    <item>
      <title>Re: Change Y-axis title</title>
      <link>https://community.jmp.com/t5/Discussions/Change-Y-axis-title/m-p/31199#M19743</link>
      <description>&lt;P&gt;The answers so far have focused on scripting but if you aren't writing a script and&amp;nbsp;want to change it interactively, you can click on the label and edit it.&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="JMPScreenSnapz064.png" style="width: 381px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/4262i3AB55B1B05309320/image-size/large?v=v2&amp;amp;px=999" role="button" title="JMPScreenSnapz064.png" alt="JMPScreenSnapz064.png" /&gt;&lt;/span&gt;﻿&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you do want to script it, after making the change this getting the script for the platform will show you how to change it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Finally, if you're using the Overlay Plot platform you should be aware that it's being (slowly) depreacated in favor of Graph Builder.&amp;nbsp;You should be able to use Graph Builder for most everythign you can do in Overlay Plot.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Dec 2016 20:00:34 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Change-Y-axis-title/m-p/31199#M19743</guid>
      <dc:creator>Jeff_Perkinson</dc:creator>
      <dc:date>2016-12-05T20:00:34Z</dc:date>
    </item>
    <item>
      <title>Re: Change Y-axis title</title>
      <link>https://community.jmp.com/t5/Discussions/Change-Y-axis-title/m-p/31201#M19744</link>
      <description>&lt;P&gt;Sorry, I wasn't clear.&amp;nbsp; I am using Graph Builder.&amp;nbsp; Below is&amp;nbsp;the example code.&amp;nbsp; I was hoping these edits could be handled within the GraphBuilder() function itself, but can't seem to find correct syntax in Help manuals.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt; obj = Graph Builder( 
	Variables( X( :WW), Y(:WW), Y( :YIELD, Position(1), Side("Right" )) ), 
	Elements(
		Bar(X, Y( 1), , Bar Style("Side by side"), Summary Statistic("N") ),
		Line (X, Y( 2), Summary Statistic("Mean")	),
		Title(prog),
		//show legend(1),
		),

);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 05 Dec 2016 20:16:34 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Change-Y-axis-title/m-p/31201#M19744</guid>
      <dc:creator>illinitom</dc:creator>
      <dc:date>2016-12-05T20:16:34Z</dc:date>
    </item>
    <item>
      <title>Re: Change Y-axis title</title>
      <link>https://community.jmp.com/t5/Discussions/Change-Y-axis-title/m-p/31237#M19749</link>
      <description>&lt;P&gt;In Graph Builder, the Y axis label is a Text Edit Box.&amp;nbsp; The following script shows how to change it.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Graph Builder(
	Variables( X( :ww ), Y( :ww ), Y( :Yield, Position( 1 ), Side( "Right" ) ) ),
	Elements(
		Bar( X, Y( 1 ), Legend( 1 ), Summary Statistic( "N" ) ),
		Line( X, Y( 2 ), Legend( 2 ) )
	),
	SendToReport(
		Dispatch( {}, "Y title", TextEditBox, {Set Text( "This is the change" )} )
	)
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 05 Dec 2016 20:54:21 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Change-Y-axis-title/m-p/31237#M19749</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2016-12-05T20:54:21Z</dc:date>
    </item>
    <item>
      <title>Re: Change Y-axis title</title>
      <link>https://community.jmp.com/t5/Discussions/Change-Y-axis-title/m-p/33061#M19755</link>
      <description>&lt;P&gt;Thanks Jeff;&amp;nbsp; You can do the same thing in Graph Builder.&amp;nbsp; I do that or, if I want to save the script, I just edit the script to the Y-axis name I want......and I am nobody's script writer! ;)&lt;/img&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Dec 2016 14:29:20 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Change-Y-axis-title/m-p/33061#M19755</guid>
      <dc:creator>Steven_Moore</dc:creator>
      <dc:date>2016-12-06T14:29:20Z</dc:date>
    </item>
    <item>
      <title>Re: Change Y-axis title</title>
      <link>https://community.jmp.com/t5/Discussions/Change-Y-axis-title/m-p/762188#M94091</link>
      <description>&lt;P&gt;How do I change the X axis label in Graph Builder using JSL - if the graph already exists?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From the enhanced log, I get e.g. :&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default to Here(1);
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
gb = dt &amp;lt;&amp;lt; Graph Builder(
	Variables( X( :height ), Y( :weight ), Overlay( :sex ) ),
	Elements( Points( X, Y, Legend( 1 ) ), Smoother( X, Y, Legend( 2 ) ) ),
	SendToReport( Dispatch( {}, "X title", TextEditBox, {Set Text( "new" )} ))
);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So,&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;gb &amp;lt;&amp;lt; SendToReport( Dispatch( {}, "X title", TextEditBox, {Set Text( "xxx" )} ))&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;is an easy trick ( &lt;LI-MESSAGE title="Talking to Display boxes" uid="665664" url="https://community.jmp.com/t5/Discussions/Talking-to-Display-boxes/m-p/665664#U665664" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-forum-thread lia-fa-icon lia-fa-forum lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;) but should be avoided:&lt;BR /&gt;&lt;A href="https://community.jmp.com/t5/Discussions/JMP-Script-Dispatch-Function/m-p/256386/highlight/true#M50369" target="_blank" rel="noopener"&gt;https://community.jmp.com/t5/Discussions/JMP-Script-Dispatch-Function/m-p/256386/highlight/true#M503...&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sending a message like this one&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;current report()[TextEditBox(3)]&amp;lt;&amp;lt; Set Text( "new" )&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;...works, but tomorrow (after removing the title of the graph) it could be&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;current report()[TextEditBox(2)]&amp;lt;&amp;lt; Set Text( "new" )&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there something more robust?&lt;BR /&gt;maybe in analogy to the &lt;STRONG&gt;SendToReport/Dispatch&lt;/STRONG&gt; approach, something like:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;current report()[TextEditBox("X title")]&amp;lt;&amp;lt; Set Text( "new" )&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 01 Jun 2024 12:50:07 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Change-Y-axis-title/m-p/762188#M94091</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2024-06-01T12:50:07Z</dc:date>
    </item>
    <item>
      <title>Re: Change Y-axis title</title>
      <link>https://community.jmp.com/t5/Discussions/Change-Y-axis-title/m-p/762189#M94092</link>
      <description>&lt;P&gt;Maybe a hint:&lt;BR /&gt;When I erroneously write&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;gb &amp;lt;&amp;lt; SendToReport( Dispatch( {}, "X_Title", TextEditBox, {Set Text( "xxx" )} ))&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;[please notice the underscore between X and title]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;... I get the error message&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hogi_1-1717231352941.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/64718i1B39C09D62D65797/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hogi_1-1717231352941.png" alt="hogi_1-1717231352941.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;CODE class=" language-jsl"&gt;TextEditBox["X Title"]!&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so, maybe&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;current report()[TextEditBox["X Title"]]&amp;lt;&amp;lt; Set Text( "new" )&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-&amp;gt; no :(&lt;/img&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 01 Jun 2024 08:45:52 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Change-Y-axis-title/m-p/762189#M94092</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2024-06-01T08:45:52Z</dc:date>
    </item>
  </channel>
</rss>

