<?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 row values based on graph selection in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Adding-row-values-based-on-graph-selection/m-p/897311#M105730</link>
    <description>&lt;P&gt;thank for your response.&lt;/P&gt;
&lt;P&gt;this is what I was wanted!&lt;/P&gt;
&lt;P&gt;This is not automated, but based on data visualization which is what i was looking.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 27 Aug 2025 09:15:47 GMT</pubDate>
    <dc:creator>Ohad_s</dc:creator>
    <dc:date>2025-08-27T09:15:47Z</dc:date>
    <item>
      <title>Adding row values based on graph selection</title>
      <link>https://community.jmp.com/t5/Discussions/Adding-row-values-based-on-graph-selection/m-p/896568#M105677</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I have data that is spread over serval positions (X\Y).&lt;/P&gt;
&lt;P&gt;I would like to plot the data on graph builder, mark set of data (based on the position) and for this selected rows add new value in different column.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;for example, add new column "Group" and for the selected rows give the value "a1".&lt;/P&gt;
&lt;P&gt;currently, I am using one of two methods: lag function, or recode for X and then Y and concatenate the new values.&lt;/P&gt;
&lt;P&gt;but I would like a more "visualized" based approach.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ohad_s_1-1756019175605.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/81093i83B51611A5E1783C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ohad_s_1-1756019175605.png" alt="Ohad_s_1-1756019175605.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Thanks for any help or advice.&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;</description>
      <pubDate>Sun, 24 Aug 2025 07:15:44 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Adding-row-values-based-on-graph-selection/m-p/896568#M105677</guid>
      <dc:creator>Ohad_s</dc:creator>
      <dc:date>2025-08-24T07:15:44Z</dc:date>
    </item>
    <item>
      <title>Re: Adding row values based on graph selection</title>
      <link>https://community.jmp.com/t5/Discussions/Adding-row-values-based-on-graph-selection/m-p/896586#M105678</link>
      <description>&lt;P&gt;You may be looking for a more automated (JSL) way to do this, but if you just want to do what your example shows, after selecting the points on the graph go to Rows - Select where - Name selection in column and call the column Group and enter a1 for the selected rows.&amp;nbsp; I'm not sure if you want the unselected rows identified as a different group label or left missing, but you can decide what to enter for the unselected rows.&amp;nbsp; This method requires you to manually select the rows from the graph, so that is why I don't consider it an automated method.&lt;/P&gt;</description>
      <pubDate>Sun, 24 Aug 2025 11:09:54 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Adding-row-values-based-on-graph-selection/m-p/896586#M105678</guid>
      <dc:creator>dlehman1</dc:creator>
      <dc:date>2025-08-24T11:09:54Z</dc:date>
    </item>
    <item>
      <title>Re: Adding row values based on graph selection</title>
      <link>https://community.jmp.com/t5/Discussions/Adding-row-values-based-on-graph-selection/m-p/896600#M105679</link>
      <description>&lt;P&gt;Here is a simple example using a script to display a window that will set the value of a column called Group for all selected rows&amp;nbsp; to whatever value is input&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );

nw = New Window( "Set Values",
	V List Box(
		H List Box(
			Text Box( "Enter Value to Set" ),
			neb = Number Edit Box( . )
		),
		sv = Button Box( "Click to Set Value",
			If(
				Length(
					Current Data Table() &amp;lt;&amp;lt;
					get selected rows
				) &amp;gt; 0,
				:Group[Current Data Table() &amp;lt;&amp;lt;
				get selected rows] = neb &amp;lt;&amp;lt; get
			)
		)
	)
)

;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 24 Aug 2025 21:19:53 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Adding-row-values-based-on-graph-selection/m-p/896600#M105679</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2025-08-24T21:19:53Z</dc:date>
    </item>
    <item>
      <title>Re: Adding row values based on graph selection</title>
      <link>https://community.jmp.com/t5/Discussions/Adding-row-values-based-on-graph-selection/m-p/897311#M105730</link>
      <description>&lt;P&gt;thank for your response.&lt;/P&gt;
&lt;P&gt;this is what I was wanted!&lt;/P&gt;
&lt;P&gt;This is not automated, but based on data visualization which is what i was looking.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Aug 2025 09:15:47 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Adding-row-values-based-on-graph-selection/m-p/897311#M105730</guid>
      <dc:creator>Ohad_s</dc:creator>
      <dc:date>2025-08-27T09:15:47Z</dc:date>
    </item>
    <item>
      <title>Re: Adding row values based on graph selection</title>
      <link>https://community.jmp.com/t5/Discussions/Adding-row-values-based-on-graph-selection/m-p/897312#M105731</link>
      <description>&lt;P&gt;thank you for your replay.&lt;/P&gt;
&lt;P&gt;this script is a nice approach to add values to selected rows.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Aug 2025 09:22:03 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Adding-row-values-based-on-graph-selection/m-p/897312#M105731</guid>
      <dc:creator>Ohad_s</dc:creator>
      <dc:date>2025-08-27T09:22:03Z</dc:date>
    </item>
  </channel>
</rss>

