<?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: How to connect target points on different traces in an overlay plot? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-connect-target-points-on-different-traces-in-an-overlay/m-p/280631#M54366</link>
    <description>&lt;P&gt;Thanks for your response a lot! It helps a lot. I appreciate it!!!!&lt;/P&gt;</description>
    <pubDate>Tue, 21 Jul 2020 07:07:43 GMT</pubDate>
    <dc:creator>hahahaqing</dc:creator>
    <dc:date>2020-07-21T07:07:43Z</dc:date>
    <item>
      <title>How to connect target points on different traces in an overlay plot?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-connect-target-points-on-different-traces-in-an-overlay/m-p/280050#M54288</link>
      <description>&lt;P&gt;Hi All!&lt;/P&gt;&lt;P&gt;I'm a new user in JMP software, and I was tasked to generate a plot and extract the script.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The plot I can generate now looks like below. I generated it from the Graph Builder. The four traces correspond to four different devices. The points on each trace show the voltage levels.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="plot1.PNG" style="width: 796px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/25457iC7FCA464959D22D0/image-size/large?v=v2&amp;amp;px=999" role="button" title="plot1.PNG" alt="plot1.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Each device has their own target voltage (For example: B: 1V, C: 0.9V, D:&lt;/img&gt; 0.65V). I would like to connect the target voltage point on each trace and calculate the delta_x and delta_y between them. Is there any way to achieve it in JMP? Also, can the calculated value appear on the plot as well? The plot I would like to create looks like this: &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="plot2.PNG" style="width: 796px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/25458iFCF609ABA961414C/image-size/large?v=v2&amp;amp;px=999" role="button" title="plot2.PNG" alt="plot2.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you all in advance!&lt;/P&gt;</description>
      <pubDate>Sun, 11 Jun 2023 11:03:40 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-connect-target-points-on-different-traces-in-an-overlay/m-p/280050#M54288</guid>
      <dc:creator>hahahaqing</dc:creator>
      <dc:date>2023-06-11T11:03:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to connect target points on different traces in an overlay plot?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-connect-target-points-on-different-traces-in-an-overlay/m-p/280059#M54291</link>
      <description>&lt;P&gt;JMP has a full set of graphic primitives available to all graphical platforms. They allow you to add whatever items to a graphical display as desired.&amp;nbsp; Lines, text, rectangles, polygons, colors, fill patterns, etc. are all available.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="primitive.PNG" style="width: 438px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/25459i807A266C64887199/image-dimensions/438x367?v=v2" width="438" height="367" role="button" title="primitive.PNG" alt="primitive.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Here is the script for the above Graph Builder&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
Open( "$SAMPLE_DATA/Big Class.jmp" );
gb = Graph Builder(
	Size( 534, 456 ),
	Show Control Panel( 0 ),
	Variables( X( :height ), Y( :weight ) ),
	Elements( Points( X, Y, Legend( 6 ) ), Line Of Fit( X, Y, Legend( 8 ) ) )
);
rgb = gb &amp;lt;&amp;lt; report;
framebox = rgb[frame box( 1 )];
framebox &amp;lt;&amp;lt; Add Graphics Script(
	Transparency( 0.5 );
	Fill Color( {1.0, 0.5, 0.0} );
	Polygon( [60, 72, 57], [75, 120, 120] );
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The documentation for this methodology is found in the Scripting Guide in a section titled "Scripting Graphs".&lt;/P&gt;
&lt;P&gt;Another, but not as elegant way to do this, would be to one or more of your Overlay groups.&amp;nbsp; &amp;nbsp;You could have A,B,C,D and Connect.&amp;nbsp; &amp;nbsp;You would add to your data table, the XY points for each of your A-D groups, and Graph Builder would draw them.&lt;/P&gt;</description>
      <pubDate>Sun, 19 Jul 2020 10:17:05 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-connect-target-points-on-different-traces-in-an-overlay/m-p/280059#M54291</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2020-07-19T10:17:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to connect target points on different traces in an overlay plot?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-connect-target-points-on-different-traces-in-an-overlay/m-p/280631#M54366</link>
      <description>&lt;P&gt;Thanks for your response a lot! It helps a lot. I appreciate it!!!!&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jul 2020 07:07:43 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-connect-target-points-on-different-traces-in-an-overlay/m-p/280631#M54366</guid>
      <dc:creator>hahahaqing</dc:creator>
      <dc:date>2020-07-21T07:07:43Z</dc:date>
    </item>
  </channel>
</rss>

