<?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: Label X-axis in fit y by x platform with different column in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Label-X-axis-in-fit-y-by-x-platform-with-different-column/m-p/835548#M101305</link>
    <description>&lt;P&gt;I think you want to use Value Labels.&amp;nbsp; You probably don't want to code them each individually, so....&lt;/P&gt;&lt;P&gt;This is ugly, and I don't like using "Eval( Parse(....) )", but it works.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default to Here( 1 );
labs = {};
For Each Row( Insert Into( labs, Char( :Run ) || " = \!"" || :Run ID || "\!"" ) );
Eval( Parse( ":Run &amp;lt;&amp;lt; Add Column Properties(
	Value Labels( {" || Concat Items( labs, ", " ) || "} ),
	Use Value Labels( 1 )
)") )

&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 04 Feb 2025 21:51:27 GMT</pubDate>
    <dc:creator>mmarchandFSLR</dc:creator>
    <dc:date>2025-02-04T21:51:27Z</dc:date>
    <item>
      <title>Label X-axis in fit y by x platform with different column</title>
      <link>https://community.jmp.com/t5/Discussions/Label-X-axis-in-fit-y-by-x-platform-with-different-column/m-p/835396#M101300</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any easy way to change the x-axis label with a different column in the fit y by x platform?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Feb 2025 16:36:35 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Label-X-axis-in-fit-y-by-x-platform-with-different-column/m-p/835396#M101300</guid>
      <dc:creator>Abby_Collins14</dc:creator>
      <dc:date>2025-02-04T16:36:35Z</dc:date>
    </item>
    <item>
      <title>Re: Label X-axis in fit y by x platform with different column</title>
      <link>https://community.jmp.com/t5/Discussions/Label-X-axis-in-fit-y-by-x-platform-with-different-column/m-p/835417#M101301</link>
      <description>&lt;P&gt;Here is a simple example that draws the graph and then resets the X label to the name of the 2nd column in the data table.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;names default to here(1);
dt=open("$SAMPLE_DATA/big class.jmp");
Graph Builder(
	Size( 528, 456 ),
	Show Control Panel( 0 ),
	Variables( X( :weight ), Y( :height ) ),
	Elements( Points( X, Y, Legend( 6 ) ), Smoother( X, Y, Legend( 7 ) ) )
);

current report()[texteditbox(3)]&amp;lt;&amp;lt;set text(column(dt,2)&amp;lt;&amp;lt;get name);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="txnelson_0-1738689278431.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/72489iA86A55718714E628/image-size/medium?v=v2&amp;amp;px=400" role="button" title="txnelson_0-1738689278431.png" alt="txnelson_0-1738689278431.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Feb 2025 17:14:45 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Label-X-axis-in-fit-y-by-x-platform-with-different-column/m-p/835417#M101301</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2025-02-04T17:14:45Z</dc:date>
    </item>
    <item>
      <title>Re: Label X-axis in fit y by x platform with different column</title>
      <link>https://community.jmp.com/t5/Discussions/Label-X-axis-in-fit-y-by-x-platform-with-different-column/m-p/835472#M101302</link>
      <description>&lt;P&gt;Thanks! I should have made my post more clear.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to change the entire x-axis label and x values in the fit y by x platform with a different column. Since fitting a regression line requires both numeric/continuous variables, I cannot use Run ID as the x variable as it contains characters, so I was wondering if it is possible to replace the x-axis label/values with a character column after the regression is fit.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example of data: Run (numeric run number), Run ID (character), regression fit output is what I have using the two numeric columns, but I would like the x-axis to be like the x-axis from the graph builder using Run ID (character).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the help!&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Abby_Collins14_0-1738695245370.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/72491iF1F9BF29630E3D7D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Abby_Collins14_0-1738695245370.png" alt="Abby_Collins14_0-1738695245370.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Abby_Collins14_1-1738695255129.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/72492i30AD1AFA7894B4D5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Abby_Collins14_1-1738695255129.png" alt="Abby_Collins14_1-1738695255129.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Abby_Collins14_2-1738695261501.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/72493iCFCF6FCD7B149EA6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Abby_Collins14_2-1738695261501.png" alt="Abby_Collins14_2-1738695261501.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>Tue, 04 Feb 2025 18:55:12 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Label-X-axis-in-fit-y-by-x-platform-with-different-column/m-p/835472#M101302</guid>
      <dc:creator>Abby_Collins14</dc:creator>
      <dc:date>2025-02-04T18:55:12Z</dc:date>
    </item>
    <item>
      <title>Re: Label X-axis in fit y by x platform with different column</title>
      <link>https://community.jmp.com/t5/Discussions/Label-X-axis-in-fit-y-by-x-platform-with-different-column/m-p/835548#M101305</link>
      <description>&lt;P&gt;I think you want to use Value Labels.&amp;nbsp; You probably don't want to code them each individually, so....&lt;/P&gt;&lt;P&gt;This is ugly, and I don't like using "Eval( Parse(....) )", but it works.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default to Here( 1 );
labs = {};
For Each Row( Insert Into( labs, Char( :Run ) || " = \!"" || :Run ID || "\!"" ) );
Eval( Parse( ":Run &amp;lt;&amp;lt; Add Column Properties(
	Value Labels( {" || Concat Items( labs, ", " ) || "} ),
	Use Value Labels( 1 )
)") )

&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 04 Feb 2025 21:51:27 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Label-X-axis-in-fit-y-by-x-platform-with-different-column/m-p/835548#M101305</guid>
      <dc:creator>mmarchandFSLR</dc:creator>
      <dc:date>2025-02-04T21:51:27Z</dc:date>
    </item>
  </channel>
</rss>

