<?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: Adding a Format during creating of a Matched Pair in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Adding-a-Format-during-creating-of-a-Matched-Pair/m-p/874523#M103829</link>
    <description>&lt;P&gt;This is what I am doing now. The Matched Pair plot is already created and afterwards I did run a script same exactly as you suggested. My question is that, during the creating of the Matched Pair plot (before the plot existed), I want to include the formatting already.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My script creates multiple matched pair plots at once. This means that I would have to go to each of the plot and reformat each of them individually. It's not very efficient. I am hoping that when I create the plots, I can include specify the formatting already.&lt;/P&gt;</description>
    <pubDate>Mon, 19 May 2025 17:53:39 GMT</pubDate>
    <dc:creator>csoon1</dc:creator>
    <dc:date>2025-05-19T17:53:39Z</dc:date>
    <item>
      <title>Adding a Format during creating of a Matched Pair</title>
      <link>https://community.jmp.com/t5/Discussions/Adding-a-Format-during-creating-of-a-Matched-Pair/m-p/874502#M103827</link>
      <description>&lt;P&gt;Hi. I created a Matched-Pair plot this way and it works.&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;mpObj = stackDT &amp;lt;&amp;lt; Matched Pairs(
		Y( column(stackDT, referenceDTName ), column(stackDT, currentDTName ) ),
		Plot Dif By Mean( 0 ),
		Plot Dif By Row( 1 ),
		Reference Frame( 0 ),
		By( :Test Item )
	);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;However, I am hoping to add formating to the Y-Axis of the plot such that it will be in Scientific format. I can do this if I modify the setting after the plot is created (NOTE: I am just showing a portion of the code):&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;SendToReport(
	Dispatch( {"Difference: X: R1-Y: R2"}, "2", ScaleBox( 2 ),
		{Format( "Engineering SI", 12 )}
	)
)&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I am hoping to include this formatting on the first code during the creation of the Matched Pair plot (so I don't have to do another step of formatting). Is this possible? If so, can you please show me.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 19 May 2025 17:42:14 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Adding-a-Format-during-creating-of-a-Matched-Pair/m-p/874502#M103827</guid>
      <dc:creator>csoon1</dc:creator>
      <dc:date>2025-05-19T17:42:14Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a Format during creating of a Matched Pair</title>
      <link>https://community.jmp.com/t5/Discussions/Adding-a-Format-during-creating-of-a-Matched-Pair/m-p/874513#M103828</link>
      <description>&lt;P&gt;Modify the axis in the report, go to red triangle and copy the script. It should be same (or very close) to what you would get if you moved that part inside the Matched Pairs() message&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1747676753481.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/75969i7B9CFDE6F5580901/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1747676753481.png" alt="jthi_0-1747676753481.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Matched Pairs(
	X(:Dose),
	Y(:BP 8M, :BP 8W),
	Reference Frame(1),
	SendToReport(
		Dispatch({"Difference: BP 8W-BP 8M"}, "1", ScaleBox,
			{Format("Scientific", 12)}
		)
	)
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;As you are using By it might require some extra modifications&lt;/P&gt;</description>
      <pubDate>Mon, 19 May 2025 17:46:30 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Adding-a-Format-during-creating-of-a-Matched-Pair/m-p/874513#M103828</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2025-05-19T17:46:30Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a Format during creating of a Matched Pair</title>
      <link>https://community.jmp.com/t5/Discussions/Adding-a-Format-during-creating-of-a-Matched-Pair/m-p/874523#M103829</link>
      <description>&lt;P&gt;This is what I am doing now. The Matched Pair plot is already created and afterwards I did run a script same exactly as you suggested. My question is that, during the creating of the Matched Pair plot (before the plot existed), I want to include the formatting already.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My script creates multiple matched pair plots at once. This means that I would have to go to each of the plot and reformat each of them individually. It's not very efficient. I am hoping that when I create the plots, I can include specify the formatting already.&lt;/P&gt;</description>
      <pubDate>Mon, 19 May 2025 17:53:39 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Adding-a-Format-during-creating-of-a-Matched-Pair/m-p/874523#M103829</guid>
      <dc:creator>csoon1</dc:creator>
      <dc:date>2025-05-19T17:53:39Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a Format during creating of a Matched Pair</title>
      <link>https://community.jmp.com/t5/Discussions/Adding-a-Format-during-creating-of-a-Matched-Pair/m-p/874529#M103830</link>
      <description>&lt;P&gt;I think I got it:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;mpObj = stackDT &amp;lt;&amp;lt; Matched Pairs(
		Y( column(stackDT, referenceDTName ), column(stackDT, currentDTName ) ),
		Plot Dif By Mean( 0 ),
		Plot Dif By Row( 1 ),
		Reference Frame( 0 ),
		SendToReport(
			Dispatch( { },
				"2", ScaleBox( 2 ),
				{Format( "Engineering SI", 12 )}
			)
		),
		By( :Test Item )
	);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I just didn't think at first that "Dispatch ( { }", if there is nothing specified inside "{ }" would work.&lt;/P&gt;</description>
      <pubDate>Mon, 19 May 2025 18:00:36 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Adding-a-Format-during-creating-of-a-Matched-Pair/m-p/874529#M103830</guid>
      <dc:creator>csoon1</dc:creator>
      <dc:date>2025-05-19T18:00:36Z</dc:date>
    </item>
  </channel>
</rss>

