<?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 Adding reference lines to a log scale in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Adding-reference-lines-to-a-log-scale/m-p/411202#M66066</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm hoping someone has a solution to my issue. I am using graph builder and adding two continuous variables to the Y axis - both require the same log scale. This works okay with a scale from 0.1 to 1e+10 until I try and add the reference lines. I have lines to add at 475000 and 4750000 - which when I add and look at the preview appear to be fine (see screenshot)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Zoe_Betteridge_0-1629378664203.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/35182iFC2A0FD82ACCC559/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Zoe_Betteridge_0-1629378664203.png" alt="Zoe_Betteridge_0-1629378664203.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;however when I click OK - I get the following plot with lower minimum values that won't change even when I try and edit it.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Zoe_Betteridge_1-1629378831831.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/35183iA72032C0F583F762/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Zoe_Betteridge_1-1629378831831.png" alt="Zoe_Betteridge_1-1629378831831.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried adding the axis preferences to the columns in the data table and saving the graph script and editing there but still get the same result. Is there a reason why I can't have the plot starting at 0.1? I can get it two work if I have the two columns as separate graphs but can't get them to overlay.&lt;/P&gt;&lt;P&gt;Thanks Zoe.&lt;/P&gt;</description>
    <pubDate>Sun, 11 Jun 2023 11:17:01 GMT</pubDate>
    <dc:creator>Zoe_Betteridge</dc:creator>
    <dc:date>2023-06-11T11:17:01Z</dc:date>
    <item>
      <title>Adding reference lines to a log scale</title>
      <link>https://community.jmp.com/t5/Discussions/Adding-reference-lines-to-a-log-scale/m-p/411202#M66066</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm hoping someone has a solution to my issue. I am using graph builder and adding two continuous variables to the Y axis - both require the same log scale. This works okay with a scale from 0.1 to 1e+10 until I try and add the reference lines. I have lines to add at 475000 and 4750000 - which when I add and look at the preview appear to be fine (see screenshot)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Zoe_Betteridge_0-1629378664203.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/35182iFC2A0FD82ACCC559/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Zoe_Betteridge_0-1629378664203.png" alt="Zoe_Betteridge_0-1629378664203.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;however when I click OK - I get the following plot with lower minimum values that won't change even when I try and edit it.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Zoe_Betteridge_1-1629378831831.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/35183iA72032C0F583F762/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Zoe_Betteridge_1-1629378831831.png" alt="Zoe_Betteridge_1-1629378831831.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried adding the axis preferences to the columns in the data table and saving the graph script and editing there but still get the same result. Is there a reason why I can't have the plot starting at 0.1? I can get it two work if I have the two columns as separate graphs but can't get them to overlay.&lt;/P&gt;&lt;P&gt;Thanks Zoe.&lt;/P&gt;</description>
      <pubDate>Sun, 11 Jun 2023 11:17:01 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Adding-reference-lines-to-a-log-scale/m-p/411202#M66066</guid>
      <dc:creator>Zoe_Betteridge</dc:creator>
      <dc:date>2023-06-11T11:17:01Z</dc:date>
    </item>
    <item>
      <title>Re: Adding reference lines to a log scale</title>
      <link>https://community.jmp.com/t5/Discussions/Adding-reference-lines-to-a-log-scale/m-p/411394#M66092</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/13470"&gt;@Zoe_Betteridge&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I cannot seem to replicate your issue.&amp;nbsp; If you run the script below are you able to adjust those axis limits?&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");

New Column("Exp[height]", Numeric, "Continuous", Format("Best", 12), Formula(Exp(:height / 20)));
New Column("Exp[weight]", Numeric, "Continuous", Format("Best", 12), Formula(Exp(:weight / 20)));

Graph Builder(
	Size( 763, 619 ),
	Show Control Panel( 0 ),
	Variables(
		X( :name ),
		Y( :"Exp[height]"n ),
		Y( :"Exp[weight]"n, Position( 1 ) )
	),
	Elements( Line( X, Y( 1 ), Y( 2 ), Legend( 4 ) ) ),
	SendToReport(
		Dispatch(
			{},
			"Exp[height]",
			ScaleBox,
			{Scale( "Log" ), Format( "Best", 6 ), Min( 1.07137524526672 ),
			Max( 3564457.95421388 ), Inc( 1 ), Minor Ticks( 0 ),
			Add Ref Line( 100000, "Solid", "Black", "a", 1 ),
			Add Ref Line( 1000000, "Solid", "Black", "b", 1 )}
		)
	)
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 19 Aug 2021 23:08:04 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Adding-reference-lines-to-a-log-scale/m-p/411394#M66092</guid>
      <dc:creator>ih</dc:creator>
      <dc:date>2021-08-19T23:08:04Z</dc:date>
    </item>
  </channel>
</rss>

