<?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: Link or lock axis together? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Link-or-lock-axis-together/m-p/409710#M65946</link>
    <description>&lt;P&gt;Jim posted an excellent example solution here:&amp;nbsp;&lt;LI-MESSAGE title="A Simple Script to Illustrate Axis Changes in One Chart Controling the Axis in a Different Chart" uid="23583" url="https://community.jmp.com/t5/JMP-Scripts/A-Simple-Script-to-Illustrate-Axis-Changes-in-One-Chart/m-p/23583#U23583" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-tkb-thread lia-fa-icon lia-fa-tkb lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 16 Aug 2021 12:48:39 GMT</pubDate>
    <dc:creator>Bryan_Fricke</dc:creator>
    <dc:date>2021-08-16T12:48:39Z</dc:date>
    <item>
      <title>Link or lock axis together?</title>
      <link>https://community.jmp.com/t5/Discussions/Link-or-lock-axis-together/m-p/56280#M31597</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am a relatively new JMP and JSL user, and I'm trying to produce a report with multiple graphs. I want to link the x-axis of both graphs together, so that when one x-axis is scaled or otherwise changed (reference line added, etc.), the other axis changes as well.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Some of the built-in platforms already do this, such as the Control Chart, which links the x-axis for the "Individual Measurement" and "Moving Range" graphs.&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" );
dt &amp;lt;&amp;lt; Control Chart( Chart Col( Height, "Individual
Measurement", "Moving Range" ), K Sigma( 3 ) );&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;How can I reproduce this for my own reports/custom platforms/etc.? I haven't been able to figure out how the Control Chart report is accomplishing this, despite looking at the tree structure and the properties for the display boxes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, how could I link the two x-axis in the following report using JSL?&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" );
dt &amp;lt;&amp;lt; Distribution(
	Stack( 1 ),
	Continuous Distribution(
		Column( :height ),
		Horizontal Layout( 1 ),
		Vertical( 0 ),
		Count Axis( 1 )
	),
	By( :sex )
);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I am using JMP 13.2.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 23:24:57 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Link-or-lock-axis-together/m-p/56280#M31597</guid>
      <dc:creator>ErikSwan</dc:creator>
      <dc:date>2023-06-09T23:24:57Z</dc:date>
    </item>
    <item>
      <title>Re: Link or lock axis together?</title>
      <link>https://community.jmp.com/t5/Discussions/Link-or-lock-axis-together/m-p/56284#M31599</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/11745"&gt;@ErikSwan&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I think you might be able to use uniform scaling.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Blood Pressure.jmp" );
obj = Distribution( Column( :BP 8M, :BP 12M, :BP 6M, :BP 8W, :BP 12W ) );
obj &amp;lt;&amp;lt; Uniform Scaling( 1 );
obj &amp;lt;&amp;lt; Lock Scales( 1 );
obj &amp;lt;&amp;lt; Stack( 1 );&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Uniform Scaling" style="width: 638px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/10611iE7A18DC91C708D23/image-dimensions/638x352?v=v2" width="638" height="352" role="button" title="Uniform Scaling.gif" alt="Uniform Scaling" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Uniform Scaling&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Cheers,&lt;/P&gt;
&lt;P&gt;Stan&lt;/P&gt;</description>
      <pubDate>Wed, 02 May 2018 20:13:22 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Link-or-lock-axis-together/m-p/56284#M31599</guid>
      <dc:creator>stan_koprowski</dc:creator>
      <dc:date>2018-05-02T20:13:22Z</dc:date>
    </item>
    <item>
      <title>Re: Link or lock axis together?</title>
      <link>https://community.jmp.com/t5/Discussions/Link-or-lock-axis-together/m-p/56302#M31610</link>
      <description>&lt;P&gt;Stan,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the response. This seems to set the scales to be the same initially, but if I grab one of the axes and change the scale, the other&amp;nbsp;axes don't update, which is what I was trying to accomplish. I.e. I'm hoping to link them so that they are always in sync with each other, like with the Control Chart platform's report.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any other ideas?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Erik&lt;/P&gt;</description>
      <pubDate>Wed, 02 May 2018 23:01:24 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Link-or-lock-axis-together/m-p/56302#M31610</guid>
      <dc:creator>ErikSwan</dc:creator>
      <dc:date>2018-05-02T23:01:24Z</dc:date>
    </item>
    <item>
      <title>Re: Link or lock axis together?</title>
      <link>https://community.jmp.com/t5/Discussions/Link-or-lock-axis-together/m-p/56533#M31767</link>
      <description>&lt;P&gt;Bump. Any other ideas on this? Surely there&amp;nbsp;is some API/JSL that the built-in platforms are using to accomplish this?&lt;/P&gt;</description>
      <pubDate>Mon, 07 May 2018 23:46:21 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Link-or-lock-axis-together/m-p/56533#M31767</guid>
      <dc:creator>ErikSwan</dc:creator>
      <dc:date>2018-05-07T23:46:21Z</dc:date>
    </item>
    <item>
      <title>Re: Link or lock axis together?</title>
      <link>https://community.jmp.com/t5/Discussions/Link-or-lock-axis-together/m-p/56534#M31768</link>
      <description>&lt;P&gt;You can attach a script to the frame box() that can detect changes in the Axis Box() and then reset all of the axes to the new values from the Axis Box() that was reset.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;See the Scripting Index for details.&lt;/P&gt;
&lt;P&gt;I typically&amp;nbsp;use in the Frame Box &amp;lt;&amp;lt; Add Graphics Script a check on the X Origin, and X Range changing in the Axis Box().&lt;/P&gt;</description>
      <pubDate>Tue, 08 May 2018 00:06:55 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Link-or-lock-axis-together/m-p/56534#M31768</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2018-05-08T00:06:55Z</dc:date>
    </item>
    <item>
      <title>Re: Link or lock axis together?</title>
      <link>https://community.jmp.com/t5/Discussions/Link-or-lock-axis-together/m-p/59509#M32640</link>
      <description>&lt;P&gt;Jim, thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't think this is the same method that the "built-in" reports and platforms are using, because I don't see any Graphics Scripts in the properties when I inspect the built-in plots and axis. I'm guessing they are using some hidden API that isn't documented.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, I think your method is an acceptable workaround that should work in most cases. The performance isn't great, but it does work. Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jun 2018 20:42:13 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Link-or-lock-axis-together/m-p/59509#M32640</guid>
      <dc:creator>ErikSwan</dc:creator>
      <dc:date>2018-06-06T20:42:13Z</dc:date>
    </item>
    <item>
      <title>Re: Link or lock axis together?</title>
      <link>https://community.jmp.com/t5/Discussions/Link-or-lock-axis-together/m-p/409710#M65946</link>
      <description>&lt;P&gt;Jim posted an excellent example solution here:&amp;nbsp;&lt;LI-MESSAGE title="A Simple Script to Illustrate Axis Changes in One Chart Controling the Axis in a Different Chart" uid="23583" url="https://community.jmp.com/t5/JMP-Scripts/A-Simple-Script-to-Illustrate-Axis-Changes-in-One-Chart/m-p/23583#U23583" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-tkb-thread lia-fa-icon lia-fa-tkb lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Aug 2021 12:48:39 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Link-or-lock-axis-together/m-p/409710#M65946</guid>
      <dc:creator>Bryan_Fricke</dc:creator>
      <dc:date>2021-08-16T12:48:39Z</dc:date>
    </item>
  </channel>
</rss>

