<?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 How to Remove Multiple Reference Lines in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-Remove-Multiple-Reference-Lines/m-p/437119#M68613</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I've got a chart created using the Graph Builder, to which I've added multiple reference lines on the Y axis via a scripted interactive dialog. I now want to include a "Start Over" button which removes them all.&amp;nbsp; I know I could delete them individually by referring to the same values on the Y axis that were used to create them in the first place, e.g.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;axisbox &amp;lt;&amp;lt; Add Ref Line( 90, "Dashed", blue );&lt;BR /&gt;axisbox &amp;lt;&amp;lt; Remove Ref Line( 90 );&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The problem is that because of the way they've been created, I don't know what the exact values actually are - and I therefore want to be able to clear them all &lt;EM&gt;without&lt;/EM&gt; needing to refer to all the Y values in turn.&amp;nbsp; I know I found a way to do this some time way back - and it was very simple - but I've forgotten how I did it.&amp;nbsp; Can anybody tell me how it can be done?&lt;/P&gt;</description>
    <pubDate>Sun, 11 Jun 2023 11:19:34 GMT</pubDate>
    <dc:creator>DMR</dc:creator>
    <dc:date>2023-06-11T11:19:34Z</dc:date>
    <item>
      <title>How to Remove Multiple Reference Lines</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-Remove-Multiple-Reference-Lines/m-p/437119#M68613</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I've got a chart created using the Graph Builder, to which I've added multiple reference lines on the Y axis via a scripted interactive dialog. I now want to include a "Start Over" button which removes them all.&amp;nbsp; I know I could delete them individually by referring to the same values on the Y axis that were used to create them in the first place, e.g.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;axisbox &amp;lt;&amp;lt; Add Ref Line( 90, "Dashed", blue );&lt;BR /&gt;axisbox &amp;lt;&amp;lt; Remove Ref Line( 90 );&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The problem is that because of the way they've been created, I don't know what the exact values actually are - and I therefore want to be able to clear them all &lt;EM&gt;without&lt;/EM&gt; needing to refer to all the Y values in turn.&amp;nbsp; I know I found a way to do this some time way back - and it was very simple - but I've forgotten how I did it.&amp;nbsp; Can anybody tell me how it can be done?&lt;/P&gt;</description>
      <pubDate>Sun, 11 Jun 2023 11:19:34 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-Remove-Multiple-Reference-Lines/m-p/437119#M68613</guid>
      <dc:creator>DMR</dc:creator>
      <dc:date>2023-06-11T11:19:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to Remove Multiple Reference Lines</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-Remove-Multiple-Reference-Lines/m-p/437170#M68616</link>
      <description>&lt;P&gt;Depending on whether or not you have made other changes you wish to keep, this might do it:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
Open( "$SAMPLE_DATA/Big Class.jmp" );
biv = Bivariate( Y( :weight ), X( :height ), FitLine );
rbiv = biv &amp;lt;&amp;lt; report;
axisbox = rbiv[axis box( 1 )];
axisbox &amp;lt;&amp;lt; Add Ref Line( 90, "Dashed", blue );
axisbox &amp;lt;&amp;lt; Add Ref Line( 100, "Dashed", blue );
axisbox &amp;lt;&amp;lt; Add Ref Line( 110, "Dashed", blue );
Wait(2);
axisbox &amp;lt;&amp;lt; Revert Axis;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 16 Nov 2021 20:24:50 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-Remove-Multiple-Reference-Lines/m-p/437170#M68616</guid>
      <dc:creator>ian_jmp</dc:creator>
      <dc:date>2021-11-16T20:24:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to Remove Multiple Reference Lines</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-Remove-Multiple-Reference-Lines/m-p/437192#M68620</link>
      <description>&lt;P&gt;That's the one. I've just searched my library of scripts for "&amp;lt;&amp;lt; Revert Axis", and tracked down my own elusive example in less than two seconds :)&lt;/img&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks Ian!&lt;/P&gt;</description>
      <pubDate>Tue, 16 Nov 2021 22:02:51 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-Remove-Multiple-Reference-Lines/m-p/437192#M68620</guid>
      <dc:creator>DMR</dc:creator>
      <dc:date>2021-11-16T22:02:51Z</dc:date>
    </item>
  </channel>
</rss>

