<?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: Send label position &amp;quot;opposite&amp;quot; to certain reference lines in an axis box using JSL in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Send-label-position-quot-opposite-quot-to-certain-reference/m-p/876913#M103989</link>
    <description>&lt;P&gt;Thanks Jarmo,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You are correct. My script wasn't working because I did not have the &amp;lt;transparency&amp;gt; value in the command, (facepalm). Once I added that, it works as expected.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for the help!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-Codi&lt;/P&gt;</description>
    <pubDate>Wed, 28 May 2025 23:25:02 GMT</pubDate>
    <dc:creator>codisanders</dc:creator>
    <dc:date>2025-05-28T23:25:02Z</dc:date>
    <item>
      <title>Send label position "opposite" to certain reference lines in an axis box using JSL</title>
      <link>https://community.jmp.com/t5/Discussions/Send-label-position-quot-opposite-quot-to-certain-reference/m-p/876229#M103943</link>
      <description>&lt;P&gt;Howdy,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;On JMP Pro 17.2.0, I am using &amp;lt;&amp;lt; Add Ref Line commands in a For loop and would like the first 3 ref line labels to display on the opposite axis. I have tried notations such as,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;CODE class=" language-jsl"&gt;rpVarPlots1[i][AxisBox( 1 )] &amp;lt;&amp;lt; Add Ref line( rUCL[i], "Solid", "Purple", "UCL=" || Char( rUCL[i] ), 1,&amp;nbsp;Label&amp;nbsp;Position("Opposite)&amp;nbsp;);&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;CODE class=" language-jsl"&gt;rpVarPlots1[i][AxisBox( 1 )] &amp;lt;&amp;lt; Add Ref line( rUCL[i], "Solid", "Purple", "UCL=" || Char( rUCL[i] ), 1, Label Settings( {Opposite Axis( 1 )} ) );&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;but nothing I have tried works and results in errors such as "N&lt;SPAN&gt;ame unresolved: Label Position in access or evaluation of 'label position'..."&lt;/SPAN&gt;&amp;nbsp;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there a way to achieve this? Example of my code and what I want to do below.&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="codisanders_1-1748121232777.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/76206i1F759E0C9D1DEF90/image-size/medium?v=v2&amp;amp;px=400" role="button" title="codisanders_1-1748121232777.png" alt="codisanders_1-1748121232777.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;DIV&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;For( i = 1, i &amp;lt;= z, i++, 

	Eval(Expr(
		rpVarPlots1[i][AxisBox( 1 )] &amp;lt;&amp;lt; Add Ref line( rUCL[i], "Solid", "Purple", "UCL=" || Char( rUCL[i] ), 1 );
		rpVarPlots1[i][AxisBox( 1 )] &amp;lt;&amp;lt; Add Ref line( rCL[i], "Solid", "Black", "CL=" || Char( rCL[i] ), 1 );
		rpVarPlots1[i][AxisBox( 1 )] &amp;lt;&amp;lt; Add Ref line( rLCL[i], "Solid", "Purple", "LCL=" || Char( rLCL[i] ), 1 );
		rpVarPlots1[i][AxisBox( 1 )] &amp;lt;&amp;lt; Add Ref line( center[i], "Solid", "Green", "pCL=" || Char( Round( center[i], 2 ) ), 2 );
		rpVarPlots1[i][AxisBox( 1 )] &amp;lt;&amp;lt; Add Ref line( center[i] - sigma[i], "Dashed", "Blue", "-1Sig=" || Char( Round( center[i] - sigma[i], 2 ) ), 1 );
		rpVarPlots1[i][AxisBox( 1 )] &amp;lt;&amp;lt; Add Ref line( center[i] + sigma[i], "Dashed", "Blue", "+1Sig=" || Char( Round( center[i] + sigma[i], 2 ) ), 1 );
		rpVarPlots1[i][AxisBox( 1 )] &amp;lt;&amp;lt; Add Ref line( center[i] - 3*sigma[i], "Solid", "Red", "pLCL=" || Char( Round( center[i] - 3*sigma[i], 2 ) ), 2 );
		rpVarPlots1[i][AxisBox( 1 )] &amp;lt;&amp;lt; Add Ref line( center[i] + 3*sigma[i], "Solid", "Red", "pUCL=" || Char( Round( center[i] + 3*sigma[i], 2 ) ), 2 );
		rpVarPlots1[i][AxisBox( 1 )] &amp;lt;&amp;lt; Add Ref line( center[i] - 4*sigma[i], "Dotted", "Dark Gray", "pLDL=" || Char( Round( center[i] - 4*sigma[i], 2 ) ), 1 );
		rpVarPlots1[i][AxisBox( 1 )] &amp;lt;&amp;lt; Add Ref line( center[i] + 4*sigma[i], "Dotted", "Dark Gray", "pUDL=" || Char( Round( center[i] + 4*sigma[i], 2 ) ), 1 );&lt;BR /&gt;)));&lt;/CODE&gt;&lt;/PRE&gt;
&lt;/DIV&gt;</description>
      <pubDate>Sat, 24 May 2025 21:17:10 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Send-label-position-quot-opposite-quot-to-certain-reference/m-p/876229#M103943</guid>
      <dc:creator>codisanders</dc:creator>
      <dc:date>2025-05-24T21:17:10Z</dc:date>
    </item>
    <item>
      <title>Re: Send label position "opposite" to certain reference lines in an axis box using JSL</title>
      <link>https://community.jmp.com/t5/Discussions/Send-label-position-quot-opposite-quot-to-certain-reference/m-p/876256#M103949</link>
      <description>&lt;P&gt;You might have to add one extra parameter when using Label Settings (second 1 in my example and it is for transparency). This does work for me but I'm using JMP18. &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(:weight), Y(:height), Overlay(:sex)),
	Elements(Points(X, Y, Legend(9)), Line Of Fit(X, Y, Legend(11)))
);

ab = Report(gb)[AxisBox(2)];

For(i = 1, i &amp;lt;= 3, i++,
	ab &amp;lt;&amp;lt; Add Ref Line(
		50 + i * 5,
		"Solid",
		"Black",
		"my label",
		1,
		1,
		Label Settings({Label Position("Outside"), Opposite Axis(1)})
	)
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 25 May 2025 10:50:06 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Send-label-position-quot-opposite-quot-to-certain-reference/m-p/876256#M103949</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2025-05-25T10:50:06Z</dc:date>
    </item>
    <item>
      <title>Re: Send label position "opposite" to certain reference lines in an axis box using JSL</title>
      <link>https://community.jmp.com/t5/Discussions/Send-label-position-quot-opposite-quot-to-certain-reference/m-p/876913#M103989</link>
      <description>&lt;P&gt;Thanks Jarmo,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You are correct. My script wasn't working because I did not have the &amp;lt;transparency&amp;gt; value in the command, (facepalm). Once I added that, it works as expected.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for the help!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-Codi&lt;/P&gt;</description>
      <pubDate>Wed, 28 May 2025 23:25:02 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Send-label-position-quot-opposite-quot-to-certain-reference/m-p/876913#M103989</guid>
      <dc:creator>codisanders</dc:creator>
      <dc:date>2025-05-28T23:25:02Z</dc:date>
    </item>
  </channel>
</rss>

