<?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 SendToByGroup &amp;amp; ScatterPlot 3D Automation in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/SendToByGroup-amp-ScatterPlot-3D-Automation/m-p/987317#M110817</link>
    <description>&lt;P&gt;Hi There,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have some surface roughness data and I am trying to automate my analysis a bit, I've used the workflow builder to get most of the way there, but on the report snapshot step I am a little bit stuck. I want to make one 3D scatter plot per File Name, all with the same axis and coloring settings, but the File Name will not always be the same, what's the easiest way to make that a variable? Thanks!&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Data Table( "AFM_Output_XYZ.jmp" ) &amp;lt;&amp;lt; Scatterplot 3D(
	SendToByGroup( {:File Name == "Sample0.txt"} ),
	Y( :x, :y, :z ),
	Coloring( :z ),
	SendToByGroup( {:File Name == "Sample1.txt"}, Legend( 7 ) ),
	SendToByGroup( {:File Name == "Sample2.txt"}, Legend( 9 ) ),
	SendToByGroup( {:File Name == "Sample3.txt"}, Legend( 11 ) ),
	SendToByGroup( {:File Name == "Sample4.txt"}, Legend( 13 ) ),
	SendToByGroup( {:File Name == "Sample5.txt"}, Legend( 15 ) ),
	
	Frame3D( Set Grab Handles( 0 ) ),
	By( :File Name ),
	Group Options( Automatic Recalc( 0 ) ),
	SendToByGroup(
		{:File Name == "Sample1.txt"},
		SendToReport(
			Dispatch( {}, "1", ScaleBox,
				{Min( 10500 ), Max( 0 ), Inc( 1000 ), Minor Ticks( 1 )}
			),
			Dispatch( {}, "2", ScaleBox,
				{Min( 10500 ), Max( 0 ), Inc( 1000 ), Minor Ticks( 1 )}
			),
			Dispatch( {}, "100", ScaleBox,
				{Legend Model(
					7,
					Type Properties(
						0,
						"Gradient",
						{gradient(
							{Color Theme( "Spectral" ), Scale Values( [0 50 100] )}
						)}
					),
					Properties(
						0,
						{gradient(
							{Color Theme( "Spectral" ), Scale Values( [0 50 100] )}
						)},
						Item ID( "z", 1 )
					)
				)}
			)
		)
	)
)&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 02 Dec 2026 00:42:28 GMT</pubDate>
    <dc:creator>TDreier</dc:creator>
    <dc:date>2026-12-02T00:42:28Z</dc:date>
    <item>
      <title>SendToByGroup &amp; ScatterPlot 3D Automation</title>
      <link>https://community.jmp.com/t5/Discussions/SendToByGroup-amp-ScatterPlot-3D-Automation/m-p/987317#M110817</link>
      <description>&lt;P&gt;Hi There,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have some surface roughness data and I am trying to automate my analysis a bit, I've used the workflow builder to get most of the way there, but on the report snapshot step I am a little bit stuck. I want to make one 3D scatter plot per File Name, all with the same axis and coloring settings, but the File Name will not always be the same, what's the easiest way to make that a variable? Thanks!&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Data Table( "AFM_Output_XYZ.jmp" ) &amp;lt;&amp;lt; Scatterplot 3D(
	SendToByGroup( {:File Name == "Sample0.txt"} ),
	Y( :x, :y, :z ),
	Coloring( :z ),
	SendToByGroup( {:File Name == "Sample1.txt"}, Legend( 7 ) ),
	SendToByGroup( {:File Name == "Sample2.txt"}, Legend( 9 ) ),
	SendToByGroup( {:File Name == "Sample3.txt"}, Legend( 11 ) ),
	SendToByGroup( {:File Name == "Sample4.txt"}, Legend( 13 ) ),
	SendToByGroup( {:File Name == "Sample5.txt"}, Legend( 15 ) ),
	
	Frame3D( Set Grab Handles( 0 ) ),
	By( :File Name ),
	Group Options( Automatic Recalc( 0 ) ),
	SendToByGroup(
		{:File Name == "Sample1.txt"},
		SendToReport(
			Dispatch( {}, "1", ScaleBox,
				{Min( 10500 ), Max( 0 ), Inc( 1000 ), Minor Ticks( 1 )}
			),
			Dispatch( {}, "2", ScaleBox,
				{Min( 10500 ), Max( 0 ), Inc( 1000 ), Minor Ticks( 1 )}
			),
			Dispatch( {}, "100", ScaleBox,
				{Legend Model(
					7,
					Type Properties(
						0,
						"Gradient",
						{gradient(
							{Color Theme( "Spectral" ), Scale Values( [0 50 100] )}
						)}
					),
					Properties(
						0,
						{gradient(
							{Color Theme( "Spectral" ), Scale Values( [0 50 100] )}
						)},
						Item ID( "z", 1 )
					)
				)}
			)
		)
	)
)&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 02 Dec 2026 00:42:28 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/SendToByGroup-amp-ScatterPlot-3D-Automation/m-p/987317#M110817</guid>
      <dc:creator>TDreier</dc:creator>
      <dc:date>2026-12-02T00:42:28Z</dc:date>
    </item>
  </channel>
</rss>

