<?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 add a y = x reference line in Graph Builder without creating a new column? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-add-a-y-x-reference-line-in-Graph-Builder-without/m-p/943059#M109544</link>
    <description>&lt;P&gt;Here a script to do it for a single frame chart&lt;/P&gt;</description>
    <pubDate>Mon, 20 Apr 2026 17:27:04 GMT</pubDate>
    <dc:creator>shampton82</dc:creator>
    <dc:date>2026-04-20T17:27:04Z</dc:date>
    <item>
      <title>How to add a y = x reference line in Graph Builder without creating a new column?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-add-a-y-x-reference-line-in-Graph-Builder-without/m-p/942528#M109509</link>
      <description>&lt;P class="isSelectedEnd"&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="isSelectedEnd"&gt;&lt;SPAN&gt;I’m trying to add a reference line like &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;y = x&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt; in Graph Builder, but I’d like to do this &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;without creating an additional column&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="isSelectedEnd"&gt;&lt;SPAN&gt;I know I can add constant reference lines (e.g., y = 100), but I couldn’t find a way to directly input a function like y = x or y = ax + b.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="isSelectedEnd"&gt;&lt;SPAN&gt;Is there any way to add a function-based reference line directly in Graph Builder?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Or is using a new formula column or a graphics script the only option?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks in advance!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Apr 2026 08:09:22 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-add-a-y-x-reference-line-in-Graph-Builder-without/m-p/942528#M109509</guid>
      <dc:creator>bumkim</dc:creator>
      <dc:date>2026-04-17T08:09:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to add a y = x reference line in Graph Builder without creating a new column?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-add-a-y-x-reference-line-in-Graph-Builder-without/m-p/942553#M109512</link>
      <description>&lt;P&gt;&lt;A href="https://www.jmp.com/support/help/en/19.0/#page/jmp/graphics-functions.shtml?os=win&amp;amp;source=application#ww2652618" target="_blank" rel="noopener"&gt;Y Function()&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Some examples for example here (right click on graph &amp;gt; customize &amp;gt; +)&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1776416584384.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/99899iB66FFB0B5285CF54/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1776416584384.png" alt="jthi_0-1776416584384.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Apr 2026 09:03:53 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-add-a-y-x-reference-line-in-Graph-Builder-without/m-p/942553#M109512</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2026-04-17T09:03:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to add a y = x reference line in Graph Builder without creating a new column?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-add-a-y-x-reference-line-in-Graph-Builder-without/m-p/942558#M109513</link>
      <description>&lt;P&gt;You can easily create a virtual column in Graph Builder and then use it in the graph.&lt;/P&gt;
&lt;P&gt;Right click in the Column selection window and select "Formula".&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="txnelson_0-1776416914906.png" style="width: 596px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/99900i613855DA70E1C17E/image-dimensions/596x322?v=v2" width="596" height="322" role="button" title="txnelson_0-1776416914906.png" alt="txnelson_0-1776416914906.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Set the formula to the column that is going to be your X column in the graph&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="txnelson_1-1776417057218.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/99901i03CC0E333A600EAC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="txnelson_1-1776417057218.png" alt="txnelson_1-1776417057218.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Click OK and your new virtual column will be displayed&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="txnelson_2-1776417135889.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/99902iFA28A27B69006E71/image-size/medium?v=v2&amp;amp;px=400" role="button" title="txnelson_2-1776417135889.png" alt="txnelson_2-1776417135889.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Now just drag you X column to the X drop area, and your Y column and the new virtual column to the Y drop area and you will have your graph.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="txnelson_3-1776417286513.png" style="width: 714px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/99903iABC7FAAE635E3B0D/image-dimensions/714x471?v=v2" width="714" height="471" role="button" title="txnelson_3-1776417286513.png" alt="txnelson_3-1776417286513.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Apr 2026 09:15:01 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-add-a-y-x-reference-line-in-Graph-Builder-without/m-p/942558#M109513</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2026-04-17T09:15:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to add a y = x reference line in Graph Builder without creating a new column?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-add-a-y-x-reference-line-in-Graph-Builder-without/m-p/942613#M109518</link>
      <description>&lt;P&gt;Adding to&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/2687"&gt;@txnelson&lt;/a&gt;'s&amp;nbsp;suggestion, note that you can rename the formula column (right click the name after building it), and then add a line chart element (right click in the graph space, add, line), and then hide the points on the 1:1 line and hide the line on the x variable (see screenshot) so you get a clean looking graph:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ih_2-1776438323504.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/99952iCD1EB7010FCEECB2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ih_2-1776438323504.png" alt="ih_2-1776438323504.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Apr 2026 15:06:56 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-add-a-y-x-reference-line-in-Graph-Builder-without/m-p/942613#M109518</guid>
      <dc:creator>ih</dc:creator>
      <dc:date>2026-04-17T15:06:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to add a y = x reference line in Graph Builder without creating a new column?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-add-a-y-x-reference-line-in-Graph-Builder-without/m-p/943059#M109544</link>
      <description>&lt;P&gt;Here a script to do it for a single frame chart&lt;/P&gt;</description>
      <pubDate>Mon, 20 Apr 2026 17:27:04 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-add-a-y-x-reference-line-in-Graph-Builder-without/m-p/943059#M109544</guid>
      <dc:creator>shampton82</dc:creator>
      <dc:date>2026-04-20T17:27:04Z</dc:date>
    </item>
  </channel>
</rss>

