<?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: How to draw a custom interval? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-draw-a-custom-interval/m-p/898411#M105840</link>
    <description>&lt;P&gt;Agreed, the Interval Dop Zone in Graph Builder is the way to do this. Your data table will need to have columns like:&amp;nbsp;&lt;/P&gt;
&lt;TABLE border="1" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="25%"&gt;Target Potency&lt;/TD&gt;
&lt;TD width="25%"&gt;Relative Bias&lt;/TD&gt;
&lt;TD width="25%"&gt;Relative Bias +&lt;/TD&gt;
&lt;TD width="25%"&gt;Relative Bias -&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then, create the Graph Builder with &lt;EM&gt;Target Potency&lt;/EM&gt; in the X Role, &lt;EM&gt;Relative Bias&lt;/EM&gt; in Y, and &lt;EM&gt;&lt;STRONG&gt;both&lt;/STRONG&gt; Relative Bias +&lt;/EM&gt; and &lt;EM&gt;Relative Bias -&lt;/EM&gt; in the Interval Role. This creates your asymmetric upper and lower error bars. (No need to set Error Interval to Custom, it can be left in Auto).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Looks like this:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="christianz_0-1756887189371.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/81791i799BF54CFE35F096/image-size/medium?v=v2&amp;amp;px=400" role="button" title="christianz_0-1756887189371.png" alt="christianz_0-1756887189371.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Here is the script you can run to recreate my table and graph:&amp;nbsp;&lt;/P&gt;
&lt;LI-SPOILER&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;New Table( "Untitled 218",
	Add Rows( 6 ),
	New Script(
		"Graph Builder",
		Graph Builder(
			Size( 660, 549 ),
			Show Control Panel( 0 ),
			Variables(
				X( :Target Potency ),
				Y( :Relative Bias ),
				Interval( :"Rel Bias +"n ),
				Interval( :"Rel Bias -"n )
			),
			Elements( Points( X, Y, Legend( 3 ) ) ),
			SendToReport(
				Dispatch( {}, "Relative Bias", ScaleBox,
					{Format( "Best", 12 ), Min( -31.735686873312925 ),
					Max( 32.651231987799235 ), Inc( 10 ), Minor Ticks( 1 ),
					Add Ref Line( 0, "Sparse Dash", "Black", "", 5 )}
				),
				Dispatch( {}, "400", ScaleBox,
					{Legend Model(
						3,
						Type Properties( 0, "Marker", {Line Color( 21 )} ),
						Properties(
							0,
							{Line Color( 21 )},
							Item ID( "Relative Bias", 1 )
						)
					)}
				)
			)
		)
	),
	New Column( "Target Potency",
		Numeric,
		"Continuous",
		Format( "Best", 12 ),
		Set Values( [25, 50, 75, 100, 150, 200] )
	),
	New Column( "Relative Bias",
		Numeric,
		"Continuous",
		Format( "Best", 12 ),
		Set Values( [6, 8, 6, 2, 4, 3] )
	),
	New Column( "Rel Bias +",
		Numeric,
		"Continuous",
		Format( "Best", 12 ),
		Set Values( [13, 12, 8, 3, 8, 6] )
	),
	New Column( "Rel Bias -",
		Numeric,
		"Continuous",
		Format( "Best", 12 ),
		Set Values( [-1, 6, 3, -0.5, -1, -1] )
	)
)&lt;/CODE&gt;&lt;/PRE&gt;
&lt;/LI-SPOILER&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 03 Sep 2025 08:17:18 GMT</pubDate>
    <dc:creator>christian-z</dc:creator>
    <dc:date>2025-09-03T08:17:18Z</dc:date>
    <item>
      <title>How to draw a custom interval?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-draw-a-custom-interval/m-p/898392#M105838</link>
      <description>I want to draw a graph like this, and I have my data “relative bias” “lower 90% bias” “upper 90% bias” also target potency for x axis.&lt;BR /&gt;&lt;BR /&gt;I opened graph builder, and drug relative bias to y axis, target potency to x axis. and set error interval as custom interval, interval style as error bar. But I noticed that I can only put one of 90% relative bias in the interval box, where it automatically +- with the relative bias. However, I calculated that 90% upper and lower with exp(), so only one interval filling does not reflect the true circumstance. However should I do?</description>
      <pubDate>Wed, 03 Sep 2025 06:20:05 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-draw-a-custom-interval/m-p/898392#M105838</guid>
      <dc:creator>Ling-Zecheng</dc:creator>
      <dc:date>2025-09-03T06:20:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to draw a custom interval?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-draw-a-custom-interval/m-p/898403#M105839</link>
      <description>&lt;P&gt;Which JMP version are you using? I'm using JMP18 and&amp;nbsp;I think you should be able to use Custom Interval and add your limit columns to Interval graph zone&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1756880868066.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/81784iFD5E55CC53DE64F1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1756880868066.png" alt="jthi_0-1756880868066.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Sep 2025 06:28:43 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-draw-a-custom-interval/m-p/898403#M105839</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2025-09-03T06:28:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to draw a custom interval?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-draw-a-custom-interval/m-p/898411#M105840</link>
      <description>&lt;P&gt;Agreed, the Interval Dop Zone in Graph Builder is the way to do this. Your data table will need to have columns like:&amp;nbsp;&lt;/P&gt;
&lt;TABLE border="1" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="25%"&gt;Target Potency&lt;/TD&gt;
&lt;TD width="25%"&gt;Relative Bias&lt;/TD&gt;
&lt;TD width="25%"&gt;Relative Bias +&lt;/TD&gt;
&lt;TD width="25%"&gt;Relative Bias -&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then, create the Graph Builder with &lt;EM&gt;Target Potency&lt;/EM&gt; in the X Role, &lt;EM&gt;Relative Bias&lt;/EM&gt; in Y, and &lt;EM&gt;&lt;STRONG&gt;both&lt;/STRONG&gt; Relative Bias +&lt;/EM&gt; and &lt;EM&gt;Relative Bias -&lt;/EM&gt; in the Interval Role. This creates your asymmetric upper and lower error bars. (No need to set Error Interval to Custom, it can be left in Auto).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Looks like this:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="christianz_0-1756887189371.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/81791i799BF54CFE35F096/image-size/medium?v=v2&amp;amp;px=400" role="button" title="christianz_0-1756887189371.png" alt="christianz_0-1756887189371.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Here is the script you can run to recreate my table and graph:&amp;nbsp;&lt;/P&gt;
&lt;LI-SPOILER&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;New Table( "Untitled 218",
	Add Rows( 6 ),
	New Script(
		"Graph Builder",
		Graph Builder(
			Size( 660, 549 ),
			Show Control Panel( 0 ),
			Variables(
				X( :Target Potency ),
				Y( :Relative Bias ),
				Interval( :"Rel Bias +"n ),
				Interval( :"Rel Bias -"n )
			),
			Elements( Points( X, Y, Legend( 3 ) ) ),
			SendToReport(
				Dispatch( {}, "Relative Bias", ScaleBox,
					{Format( "Best", 12 ), Min( -31.735686873312925 ),
					Max( 32.651231987799235 ), Inc( 10 ), Minor Ticks( 1 ),
					Add Ref Line( 0, "Sparse Dash", "Black", "", 5 )}
				),
				Dispatch( {}, "400", ScaleBox,
					{Legend Model(
						3,
						Type Properties( 0, "Marker", {Line Color( 21 )} ),
						Properties(
							0,
							{Line Color( 21 )},
							Item ID( "Relative Bias", 1 )
						)
					)}
				)
			)
		)
	),
	New Column( "Target Potency",
		Numeric,
		"Continuous",
		Format( "Best", 12 ),
		Set Values( [25, 50, 75, 100, 150, 200] )
	),
	New Column( "Relative Bias",
		Numeric,
		"Continuous",
		Format( "Best", 12 ),
		Set Values( [6, 8, 6, 2, 4, 3] )
	),
	New Column( "Rel Bias +",
		Numeric,
		"Continuous",
		Format( "Best", 12 ),
		Set Values( [13, 12, 8, 3, 8, 6] )
	),
	New Column( "Rel Bias -",
		Numeric,
		"Continuous",
		Format( "Best", 12 ),
		Set Values( [-1, 6, 3, -0.5, -1, -1] )
	)
)&lt;/CODE&gt;&lt;/PRE&gt;
&lt;/LI-SPOILER&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Sep 2025 08:17:18 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-draw-a-custom-interval/m-p/898411#M105840</guid>
      <dc:creator>christian-z</dc:creator>
      <dc:date>2025-09-03T08:17:18Z</dc:date>
    </item>
  </channel>
</rss>

