<?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: Changing titles for oneway in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Changing-titles-for-oneway/m-p/35878#M21169</link>
    <description>&lt;P&gt;Ha! I didn't even see that, because I had to change the whole title to make it work at all with my one-off attempt. Glad you saw it :)&lt;/img&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 16 Feb 2017 17:44:25 GMT</pubDate>
    <dc:creator>Melanie_J_Drake</dc:creator>
    <dc:date>2017-02-16T17:44:25Z</dc:date>
    <item>
      <title>Changing titles for oneway</title>
      <link>https://community.jmp.com/t5/Discussions/Changing-titles-for-oneway/m-p/35842#M21145</link>
      <description>&lt;P&gt;My script below, first script, will not acknowledge any changes I make for set title. It keeps defaulting to "Oneway Analysis of PARAMETER_VALUE By Status" regardless of what I enter for set title.&lt;/P&gt;&lt;P&gt;I have a script for distribution, second script, and I don't seem to have any problems with it so I'm not sure what is going on.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas on what I need to change?&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Template_TM = Expr(
	TM = Oneway(
		Y(:PARAMETER_VALUE),
		X(:Status),
		Each Pair(1),
		Means and Std Dev(1),
		t Test(1),
		Points Jittered(1),
		Box Plots(1),
		Mean Error Bars(1),
		Std Dev Lines(1),
		Comparison Circles(1),
		X Axis Proportional(0),
		Histograms(0),
		Where(:PARAMETER_ID == Eval(TargetParameter)),
		SendToReport(
			Dispatch({}, "Oneway Analysis of MEAS_DATA By Status", OutlineBox, {Set Title(&lt;FONT color="#000000"&gt; TargetParameter&lt;/FONT&gt; )}),
			Dispatch({}, "1", ScaleBox, {Scale("Log"), Min(0.0001), Max(5), Inc(1), Minor Ticks(1), Label Row Nesting(1), Add Ref Line(Eval(Limit_UCL), "Dotted", "Dark Blue", "UCL", 1)}),
			Dispatch({}, "MEAS_DATA", TextEditBox, {Set Text("E10 Atoms / cm2")}),
			Dispatch({}, "Oneway Plot", FrameBox,),
			Dispatch({}, "Means Comparisons", OutlineBox, {Close(1)})
		)
	)
);&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Template_CAP = Expr(

	CAP01 =
		Distribution(
		Continuous Distribution(
		Column(:PARAMETER_VALUE),
		Quantiles(0),
		Horizontal Layout(1),
		Vertical(0),
		Capability Analysis(USL(Eval(Limit_UCL)))),
		Where(:PARAMETER_ID == Eval(TargetParameter) &amp;amp; :Status == "1) POR"),
		SendToReport(
			Dispatch({},"Distributions",OutlineBox,{Set Title( TargetParameter )}),
			Dispatch({"Distribution 1) POR", "PARAMETER_VALUE"},"1",ScaleBox,{Format("Fixed Dec", 15, 3), Min(0), Max(2), Inc(0.2),Minor Ticks(1), Label Row Nesting(1)}),
			Dispatch({"Distributions", "PARAMETER_VALUE"},"Distrib Histogram",FrameBox,{DispatchSeg(LabelSeg(1), {Font("Tw Cen MT", 7, "Plain")})}),
			Dispatch({"Distributions", "PARAMETER_VALUE", "Capability Analysis", " Long Term Sigma"}, "1", ScaleBox, {Format("Fixed Dec", 9, 3), Min(-2), Max(2), Inc(0.5), Minor Ticks(0), Label Row Nesting(1)})
		)
	);&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Feb 2017 17:25:26 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Changing-titles-for-oneway/m-p/35842#M21145</guid>
      <dc:creator>Herrera5238</dc:creator>
      <dc:date>2017-02-16T17:25:26Z</dc:date>
    </item>
    <item>
      <title>Re: Changing titles for oneway</title>
      <link>https://community.jmp.com/t5/Discussions/Changing-titles-for-oneway/m-p/35876#M21167</link>
      <description>&lt;P&gt;The first thing I see is that when I select your script for Oneway, there's a stray quotation mark after TargetParameter for Oneway that isn't there for Distribution. You have to select it to see it - I don't know why.&lt;/P&gt;
&lt;PRE&gt;{Set Title(&lt;FONT color="#000000"&gt; TargetParameter&lt;/FONT&gt;&lt;FONT color="#FFFF00"&gt;"&lt;/FONT&gt;)}&lt;/PRE&gt;
&lt;P&gt;If I run that, I get syntax errors because everything's messed up. But if I remove the quotation mark, this works for me. Here's what I changed it to so I could run it.&amp;nbsp;I made some changes to the axis numbers so the data showed up in the graph, and I commented out the line referring to a texteditbox that doesn't appear in my report. But the outline box's title is changed to what I set TargetParameter equal to (in this case, "F").&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = Open("$SAMPLE_DATA/Big Class.jmp");
TargetParameter = "F";
Limit_UCL = 100;

Template_TM = Expr(
	TM = Oneway(
		Y(:weight),
		X(:height),
		Each Pair(1),
		Means and Std Dev(1),
		t Test(1),
		Points Jittered(1),
		Box Plots(1),
		Mean Error Bars(1),
		Std Dev Lines(1),
		Comparison Circles(1),
		X Axis Proportional(0),
		Histograms(0),
		Where(:sex == Eval(TargetParameter)),
		SendToReport(
			Dispatch({}, "Oneway Analysis of weight By height", OutlineBox, {Set Title( TargetParameter )}),
			Dispatch({}, "1", ScaleBox, {Scale("Log"), Min(60), Max(150), Inc(1), Minor Ticks(1), Label Row Nesting(1), Add Ref Line(Eval(Limit_UCL), "Dotted", "Dark Blue", "UCL", 1)}),
		//	Dispatch({}, "MEAS_DATA", TextEditBox, {Set Text("E10 Atoms / cm2")}),
			Dispatch({}, "Oneway Plot", FrameBox,),
			Dispatch({}, "Means Comparisons", OutlineBox, {Close(1)})
		)
	);
)&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 16 Feb 2017 16:41:36 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Changing-titles-for-oneway/m-p/35876#M21167</guid>
      <dc:creator>Melanie_J_Drake</dc:creator>
      <dc:date>2017-02-16T16:41:36Z</dc:date>
    </item>
    <item>
      <title>Re: Changing titles for oneway</title>
      <link>https://community.jmp.com/t5/Discussions/Changing-titles-for-oneway/m-p/35877#M21168</link>
      <description>&lt;P&gt;Melanie,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That quotation mark was a typo. After I copied my script over I changed that &amp;nbsp;to say TargetParameter and missed deleting that extra quotation mark.&lt;/P&gt;&lt;P&gt;You did however help me see my mistake/issue and this is now working. (Thank you so much)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The issue was in the first dispatch line, I had:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Dispatch({}, "Oneway Analysis of &lt;FONT face="arial black,avant garde"&gt;MEAS_DATA&lt;/FONT&gt; By Status", OutlineBox, {Set Title(TargetParameter)}),&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;When I should have had:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Dispatch({}, "Oneway Analysis of &lt;FONT face="arial black,avant garde"&gt;PARAMETER_VALUE&lt;/FONT&gt; By Status", OutlineBox, {Set Title( TargetParameter )}),&lt;/PRE&gt;&lt;P&gt;I didn't think of changing this because I didn't think that would make a difference but I guess this has to match whatever is entered for Y and X.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again for your reply I probably wouldn't have noticed it without you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Feb 2017 17:39:41 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Changing-titles-for-oneway/m-p/35877#M21168</guid>
      <dc:creator>Herrera5238</dc:creator>
      <dc:date>2017-02-16T17:39:41Z</dc:date>
    </item>
    <item>
      <title>Re: Changing titles for oneway</title>
      <link>https://community.jmp.com/t5/Discussions/Changing-titles-for-oneway/m-p/35878#M21169</link>
      <description>&lt;P&gt;Ha! I didn't even see that, because I had to change the whole title to make it work at all with my one-off attempt. Glad you saw it :)&lt;/img&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Feb 2017 17:44:25 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Changing-titles-for-oneway/m-p/35878#M21169</guid>
      <dc:creator>Melanie_J_Drake</dc:creator>
      <dc:date>2017-02-16T17:44:25Z</dc:date>
    </item>
  </channel>
</rss>

