<?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: Y-axis auto-scaling on Graph Builder plot cuts off spec limit in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Y-axis-auto-scaling-on-Graph-Builder-plot-cuts-off-spec-limit/m-p/876201#M103941</link>
    <description>&lt;P&gt;Thanks, Jim. &amp;nbsp;JMP Pro 17.2.0 on MacOS. &amp;nbsp;They are 5 different columns, but the script is actually built by another JSL script, so might look a little different — (see below).&lt;/P&gt;
&lt;P&gt;Looks like Y Axis Setting is not specified. &amp;nbsp;In Column Properties, I see "Show as Graph Reference Lines" (if that's what you're referring to). &amp;nbsp;However, checking that box, then creating a new graph via Graph Builder doesn't seem to fix the issue.&lt;/P&gt;
&lt;P&gt;Perhaps, is it possible to suggest a piece of JSL in the script below to enable the feature you describe?&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Graph Builder(
	Size( 1000, 700 ),
	Show Control Panel( 0 ),
	Show Legend( 0 ),
	Variables(
		X(
			"stage_10",
			Combine( "Parallel Merged" )
		),
		X(
			"stage_2",
			Position( 1 ),
			Combine( "Parallel Merged" )
		),
		X(
			"stage_4",
			Position( 1 ),
			Combine( "Parallel Merged" )
		),
		X(
			"stage_5",
			Position( 1 ),
			Combine( "Parallel Merged" )
		),
		X(
			"stage_6",
			Position( 1 ),
			Combine( "Parallel Merged" )
		)
	),
	Elements(
		Box Plot(
			X( 1 ),
			X( 2 ),
			X( 3 ),
			X( 4 ),
			X( 5 ),
			Legend( 3 ),
			Jitter( "Random Normal" )
		),
		Caption Box( X( 1 ), Legend( 4 ), Summary Statistic( "N" ) )
	),
	SendToReport(
		Dispatch(
			{},
			"stage_10",
			ScaleBox,
			{Label Row(
				{Tick Mark(
					Label( "stage_10" ),
					Label( "10" )
				), Tick Mark(
					Label( "stage_2" ),
					Label( "2" )
				), Tick Mark(
					Label( "stage_4" ),
					Label( "4" )
				), Tick Mark(
					Label( "stage_5" ),
					Label( "5" )
				), Tick Mark(
					Label( "stage_6" ),
					Label( "6" )
				), Set Font Size( 14 ), Label Orientation( "Horizontal" )}
			)}
		),
		Dispatch( {}, "", ScaleBox, {Label Row( Set Font Size( 14 ) )} ),
		Dispatch(
			{},
			"graph title",
			TextEditBox,
			{Set Text( "My Graph" )}
		),
		Dispatch( {}, "X title", TextEditBox, {Set Text( "" )} ),
		Dispatch(
			{},
			"Graph Builder",
			FrameBox,
			{DispatchSeg( Text Seg( 1 ), {Font( "Helvetica", 18 )} )}
		)
	)
)&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Sat, 24 May 2025 02:00:50 GMT</pubDate>
    <dc:creator>SteveTerry</dc:creator>
    <dc:date>2025-05-24T02:00:50Z</dc:date>
    <item>
      <title>Y-axis auto-scaling on Graph Builder plot cuts off spec limit</title>
      <link>https://community.jmp.com/t5/Discussions/Y-axis-auto-scaling-on-Graph-Builder-plot-cuts-off-spec-limit/m-p/876161#M103935</link>
      <description>&lt;P&gt;When generating a plot in Graph Builder, it does a good job of autoscaling the Y-axis to the outermost data points. &amp;nbsp;However, this doesn't consider the spec limit values, which are generally outside of the outermost data. &amp;nbsp;So a spec limit may not be visible.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there a setting, button, method, or, (preferably), a simple JSL way of getting the Y-axis scaling to default to the outermost of data &amp;amp; spec limits? &amp;nbsp;(A brute force method would be to loop on checking min &amp;amp; max of all data &amp;amp; spec limits, then setting the axis range just beyond those values. &amp;nbsp;But I'm hoping to avoid this.)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Example plot below showing the LSL cut off from the 4th of 5 box plots.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 May 2025 22:08:57 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Y-axis-auto-scaling-on-Graph-Builder-plot-cuts-off-spec-limit/m-p/876161#M103935</guid>
      <dc:creator>SteveTerry</dc:creator>
      <dc:date>2025-05-23T22:08:57Z</dc:date>
    </item>
    <item>
      <title>Re: Y-axis auto-scaling on Graph Builder plot cuts off spec limit</title>
      <link>https://community.jmp.com/t5/Discussions/Y-axis-auto-scaling-on-Graph-Builder-plot-cuts-off-spec-limit/m-p/876200#M103940</link>
      <description>&lt;P&gt;Is your x axis coming from 5 different columns, or from 1 ordinal/nominal column with 5 levels?&lt;/P&gt;
&lt;P&gt;Is the "Show Limits" checkbox selected in the Spec Limits Column Property?&amp;nbsp; If this is checked, and the Y Axis Setting have not been specified, then by default, the Spec Limits should be displayed&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What version of JMP, what operating system?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 24 May 2025 00:31:22 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Y-axis-auto-scaling-on-Graph-Builder-plot-cuts-off-spec-limit/m-p/876200#M103940</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2025-05-24T00:31:22Z</dc:date>
    </item>
    <item>
      <title>Re: Y-axis auto-scaling on Graph Builder plot cuts off spec limit</title>
      <link>https://community.jmp.com/t5/Discussions/Y-axis-auto-scaling-on-Graph-Builder-plot-cuts-off-spec-limit/m-p/876201#M103941</link>
      <description>&lt;P&gt;Thanks, Jim. &amp;nbsp;JMP Pro 17.2.0 on MacOS. &amp;nbsp;They are 5 different columns, but the script is actually built by another JSL script, so might look a little different — (see below).&lt;/P&gt;
&lt;P&gt;Looks like Y Axis Setting is not specified. &amp;nbsp;In Column Properties, I see "Show as Graph Reference Lines" (if that's what you're referring to). &amp;nbsp;However, checking that box, then creating a new graph via Graph Builder doesn't seem to fix the issue.&lt;/P&gt;
&lt;P&gt;Perhaps, is it possible to suggest a piece of JSL in the script below to enable the feature you describe?&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Graph Builder(
	Size( 1000, 700 ),
	Show Control Panel( 0 ),
	Show Legend( 0 ),
	Variables(
		X(
			"stage_10",
			Combine( "Parallel Merged" )
		),
		X(
			"stage_2",
			Position( 1 ),
			Combine( "Parallel Merged" )
		),
		X(
			"stage_4",
			Position( 1 ),
			Combine( "Parallel Merged" )
		),
		X(
			"stage_5",
			Position( 1 ),
			Combine( "Parallel Merged" )
		),
		X(
			"stage_6",
			Position( 1 ),
			Combine( "Parallel Merged" )
		)
	),
	Elements(
		Box Plot(
			X( 1 ),
			X( 2 ),
			X( 3 ),
			X( 4 ),
			X( 5 ),
			Legend( 3 ),
			Jitter( "Random Normal" )
		),
		Caption Box( X( 1 ), Legend( 4 ), Summary Statistic( "N" ) )
	),
	SendToReport(
		Dispatch(
			{},
			"stage_10",
			ScaleBox,
			{Label Row(
				{Tick Mark(
					Label( "stage_10" ),
					Label( "10" )
				), Tick Mark(
					Label( "stage_2" ),
					Label( "2" )
				), Tick Mark(
					Label( "stage_4" ),
					Label( "4" )
				), Tick Mark(
					Label( "stage_5" ),
					Label( "5" )
				), Tick Mark(
					Label( "stage_6" ),
					Label( "6" )
				), Set Font Size( 14 ), Label Orientation( "Horizontal" )}
			)}
		),
		Dispatch( {}, "", ScaleBox, {Label Row( Set Font Size( 14 ) )} ),
		Dispatch(
			{},
			"graph title",
			TextEditBox,
			{Set Text( "My Graph" )}
		),
		Dispatch( {}, "X title", TextEditBox, {Set Text( "" )} ),
		Dispatch(
			{},
			"Graph Builder",
			FrameBox,
			{DispatchSeg( Text Seg( 1 ), {Font( "Helvetica", 18 )} )}
		)
	)
)&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 24 May 2025 02:00:50 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Y-axis-auto-scaling-on-Graph-Builder-plot-cuts-off-spec-limit/m-p/876201#M103941</guid>
      <dc:creator>SteveTerry</dc:creator>
      <dc:date>2025-05-24T02:00:50Z</dc:date>
    </item>
    <item>
      <title>Re: Y-axis auto-scaling on Graph Builder plot cuts off spec limit</title>
      <link>https://community.jmp.com/t5/Discussions/Y-axis-auto-scaling-on-Graph-Builder-plot-cuts-off-spec-limit/m-p/876205#M103942</link>
      <description>&lt;P&gt;Specifying multiple variables for the X axis seems to negate the auto scaling for the Spec Limits.&amp;nbsp; The only solution that I see would be to add to your JSL the setting of the Y to set the axis min and max;&lt;/P&gt;</description>
      <pubDate>Sat, 24 May 2025 05:05:06 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Y-axis-auto-scaling-on-Graph-Builder-plot-cuts-off-spec-limit/m-p/876205#M103942</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2025-05-24T05:05:06Z</dc:date>
    </item>
  </channel>
</rss>

