<?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: Broadcasting Axis Properties Across Process Screening in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Broadcasting-Axis-Properties-Across-Process-Screening/m-p/940785#M109409</link>
    <description>&lt;P&gt;You can also do this by broadcasting and using Paste Axis settings. This will change min/max values of the axis which can sometimes be a problem, but you can paste the script first to new script window, drop those settings, copy it again and then broadcast+paste.&lt;/P&gt;</description>
    <pubDate>Thu, 09 Apr 2026 15:34:46 GMT</pubDate>
    <dc:creator>jthi</dc:creator>
    <dc:date>2026-04-09T15:34:46Z</dc:date>
    <item>
      <title>Broadcasting Axis Properties Across Process Screening</title>
      <link>https://community.jmp.com/t5/Discussions/Broadcasting-Axis-Properties-Across-Process-Screening/m-p/940756#M109406</link>
      <description>&lt;P&gt;Hi Folks,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Not asking a question here, but prompting a solution I've found for when you want to add axis settings from one chart to many others in the process screening platform. For example, I want to take this customisation I've done on this chart in the top left and add it to all the others:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ben_BarrIngh_0-1775744094077.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/98891iC2F37B8968BAF14F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ben_BarrIngh_0-1775744094077.png" alt="Ben_BarrIngh_0-1775744094077.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;If you right click the graph axis (say the X) and 'Copy Axis Settings' then run the script below, it will translate those settings to all of your other charts - just let the script now if its an X or Y axis you're changing.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ben_BarrIngh_1-1775744159254.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/98893i27B445519C9CAFE3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ben_BarrIngh_1-1775744159254.png" alt="Ben_BarrIngh_1-1775744159254.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Let me know if there's any questions!&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Ben&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;NamesDefaultToHere(1);

//blank out the variables
axis_type={};
axis={};
cur_rep = Current Report();
// Get the current report

//load in the 'run' expression
run_expr=expr(

// Get all AxisBox elements
axis = cur_rep &amp;lt;&amp;lt; XPath("//AxisBox"); //use Xpath to grab the reference to all AxisBoxes in the report.

// Separate into y_axis (odd-numbered) and x_axis (even-numbered) - PScreening makes axisboxes into Y (AxisBox(1), AxisBox(3)) or X (AxisBox(2),AxisBox(4)) that can be distinguished by their number
y_axis = {};
x_axis = {};
//Sort through the 'axis' list and place them in either a Y or X axis list
For(i = 1, i &amp;lt;= N Items(axis), i++,
	If(Mod(i, 2) == 1, // Odd index for Y-axis
		Insert Into(y_axis, axis[i]),
		Insert Into(x_axis, axis[i]) // Even index for X-axis
	)
);

// Apply settings based on user choice
If(axis_type == 1, 
	For(i = 1, i &amp;lt;= N Items(y_axis), i++,
		y_axis[i] &amp;lt;&amp;lt; Paste Axis Settings
	),
	For(i = 1, i &amp;lt;= N Items(x_axis), i++,
		x_axis[i] &amp;lt;&amp;lt; Paste Axis Settings
	)
););


//Startup with a window to choose the axis
nw=New Window("Choose axis type to update",
OutlineBox("Update Axes in Process Screening",
	TextBox("Choose which axis type to update that you have copied axis settings from"),
	cb=combobox({"Y","X"}),
	ButtonBox("OK",
		axis_type=cb&amp;lt;&amp;lt;get; //set the axis type that is used later on
		run_expr; //run the script contained inside 'run_expr' above
		nw&amp;lt;&amp;lt;closewindow(nosave); //close the window
	))
);

&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Apr 2026 14:19:17 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Broadcasting-Axis-Properties-Across-Process-Screening/m-p/940756#M109406</guid>
      <dc:creator>Ben_BarrIngh</dc:creator>
      <dc:date>2026-04-09T14:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: Broadcasting Axis Properties Across Process Screening</title>
      <link>https://community.jmp.com/t5/Discussions/Broadcasting-Axis-Properties-Across-Process-Screening/m-p/940785#M109409</link>
      <description>&lt;P&gt;You can also do this by broadcasting and using Paste Axis settings. This will change min/max values of the axis which can sometimes be a problem, but you can paste the script first to new script window, drop those settings, copy it again and then broadcast+paste.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Apr 2026 15:34:46 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Broadcasting-Axis-Properties-Across-Process-Screening/m-p/940785#M109409</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2026-04-09T15:34:46Z</dc:date>
    </item>
  </channel>
</rss>

